[SCM] guitarix/master: Add support for DEB_BUILD_OPTIONS="parallel="
viccuad-guest at users.alioth.debian.org
viccuad-guest at users.alioth.debian.org
Fri May 6 15:26:29 UTC 2016
The following commit has been merged in the master branch:
commit bf7d1345d08d3221a73aba130216eb432d320a8b
Author: Víctor Cuadrado Juan <me at viccuad.me>
Date: Fri May 6 14:07:35 2016 +0200
Add support for DEB_BUILD_OPTIONS="parallel="
diff --git a/debian/rules b/debian/rules
index 66459f3..77ffee7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,10 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+ NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+endif
+
%:
dh $@
@@ -13,7 +17,7 @@ override_dh_auto_configure:
--shared-lib --lib-dev --glade-support --enable-lfs --no-mod-lv2
override_dh_auto_build-arch:
- ./waf build -v
+ ./waf build -v --jobs=$(NUMJOBS)
override_dh_auto_build-indep:
cd $(CURDIR)/documentation ; doxygen
--
guitarix packaging
More information about the pkg-multimedia-commits
mailing list