[qhull] 16/28: fiddle with result of installation to be more like we'd want

Barak A. Pearlmutter barak+git at cs.nuim.ie
Thu Feb 6 14:06:26 UTC 2014


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

bap pushed a commit to branch master
in repository qhull.

commit aba3dff695b3172f224fca891d2a3d35f11d454a
Author: Barak A. Pearlmutter <barak+git at cs.nuim.ie>
Date:   Thu Feb 6 12:09:33 2014 +0000

    fiddle with result of installation to be more like we'd want
---
 debian/rules | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/debian/rules b/debian/rules
index 8248b61..363e1b1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,6 +26,19 @@ override_dh_auto_build:
 override_dh_auto_test:
 	env PATH=$(CURDIR)/src:$${PATH} eg/q_test
 
+override_dh_auto_install:
+	dh_auto_install
+	@echo No need for extra copy of license.
+	rm --verbose debian/tmp/usr/share/doc/qhull/COPYING.txt || true
+	@echo No need for doc/ copies of man pages in ../../man/man1/ or for other formats.
+	@for f in qhull rbox; do \
+	  for ext in man txt htm; do \
+	    rm --verbose debian/tmp/usr/share/doc/qhull/$$f.$$ext || true; \
+	  done \
+	done
+	@-mv --verbose debian/tmp/usr/lib/libqhullstatic.a debian/tmp/usr/lib/libqhull.a
+	@-mv --verbose debian/tmp/usr/lib/libqhullstatic_p.a debian/tmp/usr/lib/libqhull_p.a
+
 override_dh_installchangelogs:
 	dh_installchangelogs src/Changes.txt
 

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



More information about the debian-science-commits mailing list