diff options
-rw-r--r-- | debian/changelog | 7 | ||||
-rwxr-xr-x | debian/rules | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 4bad3f5..fac74fa 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +mongodb (1:2.0.2-5) unstable; urgency=low + + * Allow parallel build, patch courtesy of Andre Ferraz + <deferraz@terra.com.br> (Closes:#646759) + + -- Antonin Kral <A.Kral@sh.cvut.cz> Thu, 16 Feb 2012 10:25:06 +0100 + mongodb (1:2.0.2-4) unstable; urgency=low * Move socket from /tmp to /var/run/mongodb (Closes: #658177) diff --git a/debian/rules b/debian/rules index b45d63b..eac3e21 100755 --- a/debian/rules +++ b/debian/rules @@ -13,6 +13,10 @@ endif ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) DEB_SCONS_OPTIONS := --d=DEBUGBUILD endif +ifneq (,$(findstring parallel,$(DEB_BUILD_OPTIONS))) + PROCS=$(subst parallel=,,$(DEB_BUILD_OPTIONS)) + DEB_SCONS_OPTIONS := -j$(PROCS) +endif DEB_SCONS_BUILD_TARGET = all DEB_SCONS_INSTALL_OPTIONS += --prefix=$(CURDIR)/debian/tmp/usr --full |