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

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



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

New commits:
commit 649fc3a0168b1048a659fb50341524612191e787
Author: Julien Cristau <jcristau@debian.org>
Date:   Wed Apr 1 00:53:49 2009 +0200

    Allow parallel builds.

diff --git a/debian/changelog b/debian/changelog
index c9edccb..0d252f6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+xserver-xorg-input-acecad (1:1.3.0-2) UNRELEASED; urgency=low
+
+  * Allow parallel builds.
+
+ -- Julien Cristau <jcristau@debian.org>  Wed, 01 Apr 2009 00:53:42 +0200
+
 xserver-xorg-input-acecad (1:1.3.0-1) experimental; urgency=low
 
   [ Timo Aaltonen ]
diff --git a/debian/rules b/debian/rules
index 84195b6..b7e95b0 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: