[SCM] Packaging for sauerbraten game engine branch, master, updated. upstream/0.0.20090504.dfsg-23-g46fbee3
Bruno Kleinert
fuddl at tauware.de
Wed Sep 9 15:50:34 UTC 2009
The following commit has been merged in the master branch:
commit 46fbee354a69bfe94db218de4e0a6feed1ad97d7
Author: Bruno Kleinert <fuddl at tauware.de>
Date: Wed Sep 9 17:49:41 2009 +0200
Make parallel builds possible on SMP
Grab example code snippet from our policy and drop it into debian/rules. So
MAKEFLAGS=-jN gets set.
Start revision -2
diff --git a/debian/changelog b/debian/changelog
index c0de21e..6dff340 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+sauerbraten (0.0.20090504.dfsg-2) unstable; urgency=low
+
+ [ Bruno "Fuddl" Kleinert ]
+ * Drop code snippet in debian/rules to make parallel builds possible on SMP
+ machines.
+
+ -- Bruno "Fuddl" Kleinert <fuddl at debian.org> Wed, 09 Sep 2009 16:43:56 +0200
+
sauerbraten (0.0.20090504.dfsg-1) unstable; urgency=low
[ Bruno "Fuddl" Kleinert ]
diff --git a/debian/rules b/debian/rules
index cc67a36..8050744 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,10 @@ ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
else
CXXOPTFLAGS+=-O2 -fomit-frame-pointer
endif
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+ NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+ MAKEFLAGS += -j$(NUMJOBS)
+endif
patch-stamp: patch
--
Packaging for sauerbraten game engine
More information about the Pkg-games-commits
mailing list