[libosmium] 02/03: Create build directory for documentation when not already done by build-arch target.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sun Nov 29 21:31:46 UTC 2015


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

sebastic pushed a commit to branch master
in repository libosmium.

commit b8e52866946cb1188b7c0031a973225254889058
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Nov 29 21:59:50 2015 +0100

    Create build directory for documentation when not already done by build-arch target.
---
 debian/changelog | 3 +++
 debian/rules     | 8 ++++++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 741d62b..fdab5ab 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,9 @@
 libosmium (2.5.3-1~exp2) UNRELEASED; urgency=medium
 
   * Add patches to fix timestamp test failures.
+  * Create build directory for documentation when not already done by
+    build-arch target.
+    (closes: #806631)
 
  -- Bas Couwenberg <sebastic at debian.org>  Thu, 19 Nov 2015 22:03:50 +0100
 
diff --git a/debian/rules b/debian/rules
index 2b0968c..b36f417 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,9 +17,13 @@ override_dh_auto_build-arch:
 	dh_auto_build --arch
 
 override_dh_auto_build-indep:
-	(cd build && $(MAKE) doc)
+	if [ -e "build" ]; then \
+		(cd build && $(MAKE) doc) ; \
+	else \
+		$(MAKE) doc ; \
+	fi
 
-override_dh_auto_test:
+override_dh_auto_test-arch:
 # Ignore test failures on problematic architectures only
 ifneq (,$(findstring $(DEB_BUILD_ARCH),"ppc64"))
 	(cd build && ctest -V || echo "Ignoring test failures")

-- 
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