[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

xserver-xorg-input-aiptek: Changes to 'debian-experimental'



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

New commits:
commit 9da5c3660e51984cb7b1a92438c7b7fbc563eaab
Author: Julien Cristau <jcristau@debian.org>
Date:   Wed Apr 1 00:59:16 2009 +0200

    Allow parallel builds.

diff --git a/debian/changelog b/debian/changelog
index 93d361b..1003c7b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+xserver-xorg-input-aiptek (1:1.2.0-2) UNRELEASED; urgency=low
+
+  * Allow parallel builds.
+
+ -- Julien Cristau <jcristau@debian.org>  Wed, 01 Apr 2009 00:59:08 +0200
+
 xserver-xorg-input-aiptek (1:1.2.0-1) experimental; urgency=low
 
   [ Timo Aaltonen ]
diff --git a/debian/rules b/debian/rules
index 1e2b63c..2b41b79 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)


Reply to: