libdrm: Changes to 'debian-unstable'
debian/changelog | 6 ++++++
debian/rules | 6 +++++-
2 files changed, 11 insertions(+), 1 deletion(-)
New commits:
commit 7f0e2de49e0a4006f5c28e6dac2e161f7a96b50c
Author: Julien Cristau <jcristau@debian.org>
Date: Sat Sep 5 14:14:51 2009 +0200
Parse space-separated DEB_BUILD_OPTIONS, and handle parallel=N.
diff --git a/debian/changelog b/debian/changelog
index 34bb470..42352d6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libdrm (2.4.13-2) UNRELEASED; urgency=low
+
+ * Parse space-separated DEB_BUILD_OPTIONS, and handle parallel=N.
+
+ -- Julien Cristau <jcristau@debian.org> Sat, 05 Sep 2009 14:14:29 +0200
+
libdrm (2.4.13-1) unstable; urgency=low
[ Christopher James Halse Rogers ]
diff --git a/debian/rules b/debian/rules
index 284509d..c6252d6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,11 +30,15 @@ endif
CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
endif
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+ NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+ MAKEFLAGS += -j$(NUMJOBS)
+endif
configure: $(STAMP_DIR)/patch
dh_testdir
Reply to: