[cppunit] 01/01: move docs build into build-indep and doxygen to Build-Depends-Indep: (closes: #870028)
Rene Engelhard
rene at moszumanska.debian.org
Sat Jul 29 17:02:41 UTC 2017
This is an automated email from the git hooks/post-receive script.
rene pushed a commit to branch master
in repository cppunit.
commit d7a3369f171d4ff638f0ae0bd7ea30226faa8415
Author: Rene Engelhard <rene at rene-engelhard.de>
Date: Sat Jul 29 18:56:26 2017 +0200
move docs build into build-indep and doxygen to Build-Depends-Indep: (closes: #870028)
---
debian/changelog | 7 +++++++
debian/control | 3 ++-
debian/rules | 13 +++++++++++++
3 files changed, 22 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 0b25ea7..28fe961 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+cppunit (1.14.0-3) unstable; urgency=medium
+
+ * move docs build into build-indep and doxygen to Build-Depends-Indep:
+ (closes: #870028)
+
+ -- Rene Engelhard <rene at debian.org> Sat, 29 Jul 2017 18:54:12 +0200
+
cppunit (1.14.0-2) unstable; urgency=medium
* upload to unstable
diff --git a/debian/control b/debian/control
index 675e5c1..b57a52b 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,8 @@ Section: devel
Priority: optional
Maintainer: Debian LibreOffice Maintainers <debian-openoffice at lists.debian.org>
Uploaders: Rene Engelhard <rene at debian.org>, Steve M. Robbins <smr at debian.org>
-Build-Depends: debhelper (>= 9), doxygen, dh-autoreconf
+Build-Depends: debhelper (>= 9), dh-autoreconf
+Build-Depends-Indep: doxygen
Standards-Version: 3.9.5
Package: libcppunit-1.14-0
diff --git a/debian/rules b/debian/rules
index 91e69da..36bde63 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,19 @@ include /usr/share/dpkg/architecture.mk
%:
dh $@ --parallel --with autoreconf
+override_dh_auto_build-arch:
+ dh_auto_configure -- --disable-html-docs --disable-doxygen
+ dh_auto_build
+
+override_dh_auto_build-indep:
+ dh_auto_configure
+ cd doc && $(MAKE)
+
+override_dh_auto_test:
+ if [ -f ./src/cppunit/.libs/libcppunit.so ]; then dh_auto_test; fi
+
+override_dh_auto_install:
+ if [ -f ./src/cppunit/.libs/libcppunit.so ]; then dh_auto_install; fi
override_dh_install-arch:
# Runtime library package
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openoffice/cppunit.git
More information about the Pkg-openoffice-commits
mailing list