[clfft] 08/12: d/rules: make consistent with clblas' d/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 dfd8803119034b6d9be9130944cfda370ae1759c
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Tue Oct 27 19:18:59 2015 +0000

    d/rules: make consistent with clblas' d/rules
---
 debian/rules | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/debian/rules b/debian/rules
index 3440bc9..cd23d35 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,7 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+# Hardening flags.
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
@@ -12,7 +13,9 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 %:
-	dh $@ --parallel --sourcedirectory=src
+	dh $@ --parallel \
+		--sourcedirectory=src \
+		--dbg-package=libclfft2-dbg
 
 override_dh_auto_configure:
 	dh_auto_configure -- \
@@ -33,14 +36,9 @@ 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
+	rm -rf docs/html
+	rm -f docs/doxygen_sqlite3.db
 
 override_dh_installdocs-indep:
 	dh_installdocs --indep
 	dh_doxygen --indep
-
-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