Author: pabs
Date: 2009-07-21 21:10:23 +0000 (Tue, 21 Jul 2009)
New Revision: 10057

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

Modified: packages/trunk/mancala/debian/changelog
===================================================================
--- packages/trunk/mancala/debian/changelog     2009-07-20 10:32:49 UTC (rev 
10056)
+++ packages/trunk/mancala/debian/changelog     2009-07-21 21:10:23 UTC (rev 
10057)
@@ -9,6 +9,7 @@
   [ Paul Wise ]
   * Remove homepage from package description
   * Fix bashism in the mancala-text script (Closes: #530136)
+  * Support parallel=N in DEB_BUILD_OPTIONS
 
  -- Eddy PetriČ™or <[email protected]>  Wed, 05 Mar 2008 02:40:36 +0200
 

Modified: packages/trunk/mancala/debian/rules
===================================================================
--- packages/trunk/mancala/debian/rules 2009-07-20 10:32:49 UTC (rev 10056)
+++ packages/trunk/mancala/debian/rules 2009-07-21 21:10:23 UTC (rev 10057)
@@ -2,6 +2,11 @@
 
 #export DH_VERBOSE=1
 
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+       NUMJOBS = $(patsubst parallel=%,%,$(filter 
parallel=%,$(DEB_BUILD_OPTIONS)))
+       MAKEFLAGS += -j$(NUMJOBS)
+endif
+
 build: build-stamp
 build-stamp:
        dh_testdir


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

Reply via email to