r7803 - packages/trunk/warzone2100/debian
Paul Wise
pabs at alioth.debian.org
Sun Jul 20 16:20:16 UTC 2008
Author: pabs
Date: 2008-07-20 16:20:16 +0000 (Sun, 20 Jul 2008)
New Revision: 7803
Modified:
packages/trunk/warzone2100/debian/changelog
packages/trunk/warzone2100/debian/rules
Log:
Support parallel=N in DEB_BUILD_OPTIONS
Modified: packages/trunk/warzone2100/debian/changelog
===================================================================
--- packages/trunk/warzone2100/debian/changelog 2008-07-20 16:14:54 UTC (rev 7802)
+++ packages/trunk/warzone2100/debian/changelog 2008-07-20 16:20:16 UTC (rev 7803)
@@ -3,6 +3,7 @@
* New upstream beta release
* Adjust compilation to be parallel-build safe
* Remove the .pot file on clean
+ * Support parallel=N in DEB_BUILD_OPTIONS
-- Paul Wise <pabs at debian.org> Sun, 20 Jul 2008 15:34:28 +0800
Modified: packages/trunk/warzone2100/debian/rules
===================================================================
--- packages/trunk/warzone2100/debian/rules 2008-07-20 16:14:54 UTC (rev 7802)
+++ packages/trunk/warzone2100/debian/rules 2008-07-20 16:20:16 UTC (rev 7803)
@@ -18,7 +18,12 @@
CFLAGS += -O2
endif
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+ NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+ MAKEFLAGS += -j$(NUMJOBS)
+endif
+
# Configure the package
# -------------------------------------
configure: config.status
More information about the Pkg-games-commits
mailing list