r9414 - packages/trunk/attal/debian

Paul Wise pabs at alioth.debian.org
Sun Apr 5 11:27:43 UTC 2009


Author: pabs
Date: 2009-04-05 11:27:43 +0000 (Sun, 05 Apr 2009)
New Revision: 9414

Modified:
   packages/trunk/attal/debian/changelog
   packages/trunk/attal/debian/rules
Log:
Support parallel=N in DEB_BUILD_OPTIONS

Modified: packages/trunk/attal/debian/changelog
===================================================================
--- packages/trunk/attal/debian/changelog	2009-04-05 11:22:26 UTC (rev 9413)
+++ packages/trunk/attal/debian/changelog	2009-04-05 11:27:43 UTC (rev 9414)
@@ -6,6 +6,7 @@
   * Add a README.source file pointing at the quilt docs
   * Add patch to fix upstream build system for parallel builds
     Thanks to Sune Vuorela <sune at debian.org> for the patch.
+  * Support parallel=N in DEB_BUILD_OPTIONS
 
  -- Paul Wise <pabs at debian.org>  Sun, 05 Apr 2009 16:15:22 +0800
 

Modified: packages/trunk/attal/debian/rules
===================================================================
--- packages/trunk/attal/debian/rules	2009-04-05 11:22:26 UTC (rev 9413)
+++ packages/trunk/attal/debian/rules	2009-04-05 11:27:43 UTC (rev 9414)
@@ -5,6 +5,11 @@
 export ATT_PREFIX=/usr
 export ATT_LIB_PREFIX=/usr/lib/attal
 
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+	NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+	MAKEFLAGS += -j$(NUMJOBS)
+endif
+
 include /usr/share/quilt/quilt.make
 
 build: build-stamp




More information about the Pkg-games-commits mailing list