[libosmium] 05/07: Set build directory explicitly.

Bas Couwenberg sebastic at debian.org
Sat Jan 14 12:31:11 UTC 2017


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

sebastic pushed a commit to branch master
in repository libosmium.

commit 91ff81294bdbdc37e9345e0ebcdd349b5a4fa297
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Jan 14 12:22:35 2017 +0100

    Set build directory explicitly.
---
 debian/rules | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/debian/rules b/debian/rules
index 02fdceb..e4c3bc8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,7 @@ export VERBOSE=1
 DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 
 %:
-	dh $@ --parallel
+	dh $@ --parallel --builddirectory=build
 
 override_dh_auto_configure:
 	dh_auto_configure -- -DCMAKE_VERBOSE_MAKEFILE=1
@@ -17,11 +17,7 @@ override_dh_auto_build-arch:
 	dh_auto_build --arch
 
 override_dh_auto_build-indep:
-	if [ -e "build" ]; then \
-		(cd build && $(MAKE) doc) ; \
-	else \
-		$(MAKE) doc ; \
-	fi
+	(cd build && $(MAKE) doc)
 
 override_dh_auto_test-arch:
 # Ignore test failures on problematic architectures only

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



More information about the Pkg-grass-devel mailing list