[clfft] 04/12: Build documentation with arch-indep rules

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Oct 28 11:52:18 UTC 2015


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

ghisvail-guest pushed a commit to branch debian/sid
in repository clfft.

commit 025e02ced38de64991b9659dd8607f7b6d298f31
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Tue Oct 27 12:40:45 2015 +0000

    Build documentation with arch-indep rules
---
 debian/control |  2 +-
 debian/rules   | 15 ++++++++++-----
 2 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/debian/control b/debian/control
index 1afce4f..a229b18 100644
--- a/debian/control
+++ b/debian/control
@@ -6,9 +6,9 @@ Uploaders: Ghislain Antony Vaillant <ghisvail at gmail.com>,
            Jerome Kieffer <jerome.kieffer at esrf.fr>
 Build-Depends: cmake,
                debhelper (>= 9),
-               doxygen,
                libboost-program-options-dev,
                ocl-icd-opencl-dev | opencl-dev
+Build-Depends-Indep: doxygen
 Standards-Version: 3.9.6
 Homepage: https://github.com/clMathLibraries/clFFT
 Vcs-Git: git://anonscm.debian.org/debian-science/packages/clfft.git
diff --git a/debian/rules b/debian/rules
index 1ccdaba..e070840 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,7 +15,6 @@ DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 	dh $@ --sourcedirectory=src \
 		--buildsystem=cmake \
 		--parallel \
-		--dbg-package=libclfft2-dbg
 
 override_dh_auto_configure:
 	dh_auto_configure -- \
@@ -28,12 +27,18 @@ override_dh_auto_configure:
 		-DBUILD_EXAMPLES=OFF \
 		-DSUFFIX_LIB=/${DEB_HOST_MULTIARCH}
 
-override_dh_auto_build:
-	dh_auto_build
+override_dh_auto_build-indep:
 	echo "I: Generating Doxygen documentation"
 	cd docs/ && doxygen clFFT.doxy && rm html/jquery.js
 
-override_dh_auto_clean:
-	dh_auto_clean
+override_dh_auto_install-indep:
+	# Pass.
+
+override_dh_auto_clean-indep:
+	dh_auto_clean --indep
 	$(RM) -f docs/doxygen_sqlite3.db
 	$(RM) -rf docs/html
+
+override_dh_strip-arch:
+	dh_strip --package=libclfft2 \
+		--dbg-package=libclfft2-dbg

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/clfft.git



More information about the debian-science-commits mailing list