summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonin Kral <a.kral@bobek.cz>2010-08-11 13:16:18 +0200
committerAntonin Kral <a.kral@bobek.cz>2010-08-11 13:16:18 +0200
commit45c67669af56fbe1eb212c3313214bb075583f16 (patch)
tree774bb437e8c327dcb32af8c2cff704e7e8a05fc6
parent7ae74afcfe70c254863b45b743ba4cedb6938900 (diff)
downloadmongodb-45c67669af56fbe1eb212c3313214bb075583f16.tar.gz
use prefix and smokedbprefix
-rwxr-xr-xdebian/rules6
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 $@