[SCM] Packaging of the FTE QuakeC Compiler branch, master, updated. upstream/3343+svn3223-12-gdd3042c

Bruno Kleinert fuddl at tauware.de
Fri Oct 16 13:49:24 UTC 2009


The following commit has been merged in the master branch:
commit dd3042c9b56f354e67d4f0bcfe43db7af13fbf91
Author: Bruno Kleinert <fuddl at tauware.de>
Date:   Fri Oct 16 15:45:17 2009 +0200

    Make parallel building possible for SMP machines

diff --git a/debian/changelog b/debian/changelog
index d3fd27f..c2002af 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,8 +3,10 @@ fteqcc (3343+svn3400-1) unstable; urgency=low
   * Package a newer upstream snapshot which is necessary to build
     nexuiz-data 2.5.2
   * Bump standards version to 3.8.3. No changes were necessary
+  * Add code snippet from our policy to debian/rules, so we can build fteqcc
+    in parallel with -j=N
 
- -- Bruno "Fuddl" Kleinert <fuddl at debian.org>  Fri, 16 Oct 2009 15:30:20 +0200
+ -- Bruno "Fuddl" Kleinert <fuddl at debian.org>  Fri, 16 Oct 2009 15:44:13 +0200
 
 fteqcc (3343+svn3223-1) unstable; urgency=low
 
diff --git a/debian/rules b/debian/rules
index 610f8d2..d3c674f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,11 @@ include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/rules/simple-patchsys.mk
 include /usr/share/cdbs/1/class/makefile.mk
 
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+    NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+    MAKEFLAGS += -j$(NUMJOBS)
+endif
+
 DEB_MAKE_BUILD_TARGET=all
 
 install/fteqcc::

-- 
Packaging of the FTE QuakeC Compiler



More information about the Pkg-games-commits mailing list