[ogdi-dfsg] 12/19: Enable parallel builds.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sun Apr 3 00:13:18 UTC 2016


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository ogdi-dfsg.

commit 5544ffb9399bb6b371ad0296b132a0e7f1f668ad
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Apr 2 22:57:25 2016 +0200

    Enable parallel builds.
---
 debian/changelog | 1 +
 debian/rules     | 5 ++++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 3747f3d..10845aa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,6 +18,7 @@ ogdi-dfsg (3.2.0~beta2-8) UNRELEASED; urgency=medium
   * Use minimal dh rules with autoreconf.
   * Don't treat format-security as an error, causes build failure.
   * Enable all hardening buildflags, except PIE (causes build failure).
+  * Enable parallel builds.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sat, 02 Apr 2016 21:13:49 +0200
 
diff --git a/debian/rules b/debian/rules
index 570e51b..767eff2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,7 +14,7 @@ export CFG=debug
 CFLAGS += -Wno-error=format-security
 
 %:
-	dh $@ --with autoreconf
+	dh $@ --with autoreconf --parallel
 
 override_dh_auto_clean:
 	if [ -e config/common.mak ]; then \
@@ -34,6 +34,9 @@ override_dh_auto_configure:
 		 --with-zlibinc=/usr/include \
 		 --with-zliblib=-lz
 
+override_dh_auto_build:
+	dh_auto_build --max-parallel=1
+
 override_dh_auto_install:
 	dh_auto_install -- prefix=$(CURDIR)/debian/tmp/usr
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/ogdi-dfsg.git



More information about the Pkg-grass-devel mailing list