[SCM] Packaging for spacehero branch, master, updated. upstream/0.0.7-20-g81c4ff2

Bruno Kleinert fuddl at tauware.de
Sun Aug 15 22:19:21 UTC 2010


The following commit has been merged in the master branch:
commit 7a607537f4dd748144be4aa8b4f323231dc4fc8a
Author: Bruno Kleinert <fuddl at tauware.de>
Date:   Sun Aug 15 23:49:13 2010 +0200

    Add snippet to enable parallized building

diff --git a/debian/rules b/debian/rules
index 28ffebd..0449d1f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,11 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+	NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+	MAKEFLAGS += -j$(NUMJOBS)
+endif
+
 CXXFLAGS+=-g
 ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
 	CXXFLAGS += -O0

-- 
Packaging for spacehero



More information about the Pkg-games-commits mailing list