[Pkg-voip-commits] r6689 - in /ptlib/trunk/debian: changelog rules

dedu-guest at alioth.debian.org dedu-guest at alioth.debian.org
Mon Jan 26 10:15:05 UTC 2009


Author: dedu-guest
Date: Mon Jan 26 10:15:05 2009
New Revision: 6689

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=6689
Log:
debian/rules: Honour DEB_BUILD_OPTIONS parameter for parallel builds.

Modified:
    ptlib/trunk/debian/changelog
    ptlib/trunk/debian/rules

Modified: ptlib/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/ptlib/trunk/debian/changelog?rev=6689&op=diff
==============================================================================
--- ptlib/trunk/debian/changelog (original)
+++ ptlib/trunk/debian/changelog Mon Jan 26 10:15:05 2009
@@ -1,6 +1,7 @@
 ptlib (2.4.2-4) UNRELEASED; urgency=low
 
   * NOT RELEASED YET
+  * debian/rules: Honour DEB_BUILD_OPTIONS parameter for parallel builds.
   * Activate libv4l, adding support for many webcams.
   * Fix control fields: Vcs-Svn and Vcs-Browser.
 

Modified: ptlib/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/ptlib/trunk/debian/rules?rev=6689&op=diff
==============================================================================
--- ptlib/trunk/debian/rules (original)
+++ ptlib/trunk/debian/rules Mon Jan 26 10:15:05 2009
@@ -24,6 +24,11 @@
 
 CFLAGS   += -Wall -g -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2)
 LDFLAGS += -Wl,-z,def
+
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+  NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+  MAKEFLAGS += -j$(NUMJOBS)
+endif
 
 
 # used for sed-ating out host specific data
@@ -58,7 +63,7 @@
 	touch autotools
 
 build-arch-stamp: config.status
-	$(MAKE)
+	$(MAKE) $(MAKEFLAGS)
 	#$(MAKE) optnoshared  # compile static plugins, uncomment if needed
 
 	# then we ensure that the fresh build works with hello world.




More information about the Pkg-voip-commits mailing list