[opentyrian] 01/01: make parallel build actually work
Alexandre Detiste
detiste-guest at moszumanska.debian.org
Wed Apr 1 14:34:02 UTC 2015
This is an automated email from the git hooks/post-receive script.
detiste-guest pushed a commit to branch master
in repository opentyrian.
commit 08308ba1308ed892857bed3e7cc35170601ea8c2
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date: Wed Apr 1 16:33:32 2015 +0200
make parallel build actually work
---
debian/rules | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 55ca6c0..c0e1cae 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,16 @@
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+ NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+ MAKEFLAGS += -j$(NUMJOBS)
+endif
+
%:
dh $@ --parallel
override_dh_auto_build:
- make release
+ $(MAKE) release
override_dh_install:
dh_install
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/opentyrian.git
More information about the Pkg-games-commits
mailing list