diff options
author | Antonin Kral <a.kral@bobek.cz> | 2010-08-11 13:16:18 +0200 |
---|---|---|
committer | Antonin Kral <a.kral@bobek.cz> | 2010-08-11 13:16:18 +0200 |
commit | 45c67669af56fbe1eb212c3313214bb075583f16 (patch) | |
tree | 774bb437e8c327dcb32af8c2cff704e7e8a05fc6 | |
parent | 7ae74afcfe70c254863b45b743ba4cedb6938900 (diff) | |
download | mongodb-45c67669af56fbe1eb212c3313214bb075583f16.tar.gz |
use prefix and smokedbprefix
-rwxr-xr-x | debian/rules | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules index de6f2b7..b993cec 100755 --- a/debian/rules +++ b/debian/rules @@ -11,7 +11,7 @@ # debug and nostrip is effectively equivalent for current version of scons # build system in current mongodb revision -DEB_SCONS_FLAGS := +DEB_SCONS_FLAGS := ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) DEB_SCONS_FLAGS := --d=DEBUGBUILD endif @@ -33,11 +33,11 @@ build-stamp: configure-stamp dh_testdir # Add here commands to compile the package. - scons $(DEB_SCONS_FLAGS) + scons --prefix=$(CURDIR)/debian/tmp $(DEB_SCONS_FLAGS) #docbook-to-man debian/mongodb.sgml > mongodb.1 #run regression tests - scons --prefix=$(CURDIR)/debian/tmp-test smoke + scons --smokedbprefix=$(CURDIR)/debian/tmp-test smoke rm -rf $(CURDIR)/debian/tmp-test touch $@ |