[SCM] Packaging for qtiplot branch, master, updated. debian/0.9.8.9-3-11-g42e2b54

Scott Howard showard314 at gmail.com
Sat Jun 8 16:44:33 UTC 2013


The following commit has been merged in the master branch:
commit 42e2b54abe76e1f19f9ecd06faa3794423543cda
Author: Scott Howard <showard314 at gmail.com>
Date:   Sat Jun 8 12:44:16 2013 -0400

    enable MAKEFLAGS for parallel building

diff --git a/debian/rules b/debian/rules
index c72197c..78161e0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,11 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+    NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+    MAKEFLAGS += -j$(NUMJOBS)
+endif
+
 %:
 	dh $@ --parallel --with python2
 
@@ -19,11 +24,11 @@ override_dh_auto_configure:
 override_dh_auto_install:
 
 override_dh_auto_build-arch:
-	$(MAKE) -j$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+	$(MAKE)
 
 override_dh_auto_build-indep:
 	doxygen Doxyfile
-	$(MAKE) -C manual -f Makefile all j$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+	$(MAKE) -C manual -f Makefile all
 
 overrid_dh_auto_clean:
 	dh_auto_clean

-- 
Packaging for qtiplot



More information about the debian-science-commits mailing list