diff options
author | Antonin Kral <a.kral@bobek.cz> | 2012-02-16 10:23:58 +0100 |
---|---|---|
committer | Antonin Kral <a.kral@bobek.cz> | 2012-02-16 10:26:15 +0100 |
commit | 8da59cfea929c62213d7c87f17304e6f5c85230c (patch) | |
tree | 6f01591935fe67a8b9994759efd748a5a4b82cf5 | |
parent | 1a7d46ff72a66d38287894be2122c787cb1db8dd (diff) | |
download | mongodb-8da59cfea929c62213d7c87f17304e6f5c85230c.tar.gz |
Allow parallel build, patch courtesy of Andre Ferraz <deferraz@terra.com.br> (Closes:#646759)
-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 |