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 <[email protected]> for the patch.
+  * Support parallel=N in DEB_BUILD_OPTIONS
 
  -- Paul Wise <[email protected]>  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


_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to