[Pkg-voip-commits] r6690 - in /opal/branches/experimental/debian: changelog rules
dedu-guest at alioth.debian.org
dedu-guest at alioth.debian.org
Mon Jan 26 10:17:31 UTC 2009
Author: dedu-guest
Date: Mon Jan 26 10:17:31 2009
New Revision: 6690
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=6690
Log:
debian/rules: Honour DEB_BUILD_OPTIONS parameter for parallel builds.
Modified:
opal/branches/experimental/debian/changelog
opal/branches/experimental/debian/rules
Modified: opal/branches/experimental/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/opal/branches/experimental/debian/changelog?rev=6690&op=diff
==============================================================================
--- opal/branches/experimental/debian/changelog (original)
+++ opal/branches/experimental/debian/changelog Mon Jan 26 10:17:31 2009
@@ -1,6 +1,7 @@
opal (3.4.2~dfsg-3) UNRELEASED; urgency=low
* NOT RELEASED YET
+ * debian/rules: Honour DEB_BUILD_OPTIONS parameter for parallel builds.
-- Mark Purcell <msp at debian.org> Sat, 15 Nov 2008 12:32:02 +1100
Modified: opal/branches/experimental/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/opal/branches/experimental/debian/rules?rev=6690&op=diff
==============================================================================
--- opal/branches/experimental/debian/rules (original)
+++ opal/branches/experimental/debian/rules Mon Jan 26 10:17:31 2009
@@ -40,6 +40,11 @@
confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
endif
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+ NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+ MAKEFLAGS += -j$(NUMJOBS)
+endif
+
include /usr/share/dpatch/dpatch.make
build: build-arch build-indep
@@ -63,7 +68,7 @@
touch $@
build-arch-stamp: config.status
- $(MAKE)
+ $(MAKE) $(MAKEFLAGS)
# ensure we do a fresh check with hello world.
# ...first static
More information about the Pkg-voip-commits
mailing list