debian/changelog |    6 ++++++
 debian/rules     |    7 ++++---
 2 files changed, 10 insertions(+), 3 deletions(-)

New commits:
commit c1404fe3ebea94909fb77058ca436e94eeafc29e
Author: Julien Cristau <jcris...@debian.org>
Date:   Wed Apr 1 00:52:08 2009 +0200

    Allow parallel builds.

diff --git a/debian/changelog b/debian/changelog
index 38882d4..dbcc7e8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+xserver-xorg-input-fpit (1:1.3.0-2) UNRELEASED; urgency=low
+
+  * Allow parallel builds.
+
+ -- Julien Cristau <jcris...@debian.org>  Wed, 01 Apr 2009 00:51:59 +0200
+
 xserver-xorg-input-fpit (1:1.3.0-1) experimental; urgency=low
 
   [ Timo Aaltonen ]
diff --git a/debian/rules b/debian/rules
index 59be462..ca84e7b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,13 +10,14 @@
 include debian/xsfbs/xsfbs.mk
 
 CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
        CFLAGS += -O0
 else
        CFLAGS += -O2
 endif
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-       INSTALL_PROGRAM += -s
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+       NUMJOBS = $(patsubst parallel=%,%,$(filter 
parallel=%,$(DEB_BUILD_OPTIONS)))
+       MAKEFLAGS += -j$(NUMJOBS)
 endif
 
 DEB_HOST_ARCH      ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to