[SCM] Packaging for scorched3d branch, master, updated. upstream/42.1dfsg-35-g47dc976
Bruno Kleinert
fuddl at tauware.de
Wed Sep 9 14:34:14 UTC 2009
The following commit has been merged in the master branch:
commit 47dc9767b610cc5d8573f40d686188f2b14045e3
Author: Bruno Kleinert <fuddl at tauware.de>
Date: Wed Sep 9 16:31:45 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 -3.
diff --git a/debian/changelog b/debian/changelog
index 1962120..fe4d89a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+scorched3d (42.1dfsg-3) 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:05:50 +0200
+
scorched3d (42.1dfsg-2) unstable; urgency=low
* Add kfreebsd.diff (Closes: #495091)
diff --git a/debian/rules b/debian/rules
index 6caeab6..16f60c9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,6 +15,10 @@ ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
else
confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
endif
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+ NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+ MAKEFLAGS += -j$(NUMJOBS)
+endif
confflags += --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE)
confflags += --prefix=/usr --bindir=\$${prefix}/games
--
Packaging for scorched3d
More information about the Pkg-games-commits
mailing list