[protozero] 05/07: Update packaging for cmake build.

Bas Couwenberg sebastic at debian.org
Tue Oct 24 18:14:37 UTC 2017


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

sebastic pushed a commit to branch master
in repository protozero.

commit da34320605cf2cf56ff736a473c4f9bb64189bf8
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Tue Oct 24 19:39:34 2017 +0200

    Update packaging for cmake build.
---
 debian/changelog             |  1 +
 debian/libprotozero-doc.docs |  2 +-
 debian/rules                 | 11 +++--------
 3 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 8ba4797..cef7036 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ protozero (1.6.0-1) UNRELEASED; urgency=medium
 
   * New upstream release.
   * Add cmake to build dependencies.
+  * Update packaging for cmake build.
 
  -- Bas Couwenberg <sebastic at debian.org>  Tue, 24 Oct 2017 19:33:48 +0200
 
diff --git a/debian/libprotozero-doc.docs b/debian/libprotozero-doc.docs
index a651601..306ee07 100644
--- a/debian/libprotozero-doc.docs
+++ b/debian/libprotozero-doc.docs
@@ -1 +1 @@
-doc/html/
+obj-*/doc/html/
diff --git a/debian/rules b/debian/rules
index 42324b1..b9e0986 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,13 +10,11 @@ DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 %:
 	dh $@ --parallel
 
-override_dh_auto_build-arch:
-	dh_auto_build --arch
+override_dh_auto_build:
+	dh_auto_build
 
-override_dh_auto_build-indep:
-	$(MAKE) doc
 	# Remove useless autogenerated doxygen files
-	$(RM) doc/html/*.md5
+	$(RM) obj-*/doc/html/*.md5
 
 override_dh_auto_test:
 # Ignore test failures on problematic architectures only
@@ -26,9 +24,6 @@ else
 	dh_auto_test
 endif
 
-override_dh_auto_install:
-	dh_auto_install --destdir=$(CURDIR)/debian/tmp/usr
-
 override_dh_install:
 	dh_install --list-missing
 

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



More information about the Pkg-grass-devel mailing list