[Pkg-voip-commits] r8937 - in /mumble/trunk/debian: changelog rules

thorvald at alioth.debian.org thorvald at alioth.debian.org
Mon May 16 04:00:56 UTC 2011


Author: thorvald
Date: Mon May 16 04:00:40 2011
New Revision: 8937

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=8937
Log:
Support parallel builds.

Modified:
    mumble/trunk/debian/changelog
    mumble/trunk/debian/rules

Modified: mumble/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/mumble/trunk/debian/changelog?rev=8937&op=diff
==============================================================================
--- mumble/trunk/debian/changelog (original)
+++ mumble/trunk/debian/changelog Mon May 16 04:00:40 2011
@@ -3,6 +3,7 @@
   [ Thorvald Natvig ]
   * Allow build with boost 1.38 to make backports a bit easier.
   * Reduce build verbosity a bit.
+  * Support parallel builds.
 
   [ Patrick Matthäi ]
   * Bump debhelper to compat version 7.

Modified: mumble/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/mumble/trunk/debian/rules?rev=8937&op=diff
==============================================================================
--- mumble/trunk/debian/rules (original)
+++ mumble/trunk/debian/rules Mon May 16 04:00:40 2011
@@ -8,6 +8,11 @@
 SOURCE_DIR = $(dir $(MAKEFILE))..
 VERSION := $(shell dpkg-parsechangelog -l$(dir $(MAKEFILE))changelog | sed -ne 's/^Version: \(.*\)-.*/\1/p')
 MUMBLE_DEB_VERSION := $(shell dpkg-parsechangelog -l$(dir $(MAKEFILE))changelog | sed -ne 's/^Version: \(.*\).*/\1/p')
+
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+	NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+	MAKEFLAGS += -j$(NUMJOBS)
+endif
 
 export DH_OPTIONS
 




More information about the Pkg-voip-commits mailing list