[qhull] 18/28: move HTML files from /usr/include to /usr/share/doc, with links for .h files
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 67e454f657769a8d402c23e467844bf62ebaacce
Author: Barak A. Pearlmutter <barak+git at cs.nuim.ie>
Date: Thu Feb 6 12:24:01 2014 +0000
move HTML files from /usr/include to /usr/share/doc, with links for .h files
---
debian/libqhull-dev.install | 2 +-
debian/libqhull-doc.install | 1 +
debian/rules | 7 +++++++
3 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/debian/libqhull-dev.install b/debian/libqhull-dev.install
index a0a5a09..3ebf988 100644
--- a/debian/libqhull-dev.install
+++ b/debian/libqhull-dev.install
@@ -1,3 +1,3 @@
usr/lib/libqhull.a
usr/lib/libqhull.so
-usr/include
+usr/include/*/*.h
diff --git a/debian/libqhull-doc.install b/debian/libqhull-doc.install
new file mode 100644
index 0000000..f519da0
--- /dev/null
+++ b/debian/libqhull-doc.install
@@ -0,0 +1 @@
+/usr/include/libqhull/*.htm /usr/share/doc/libqhull-doc/include/
diff --git a/debian/rules b/debian/rules
index 363e1b1..491b516 100755
--- a/debian/rules
+++ b/debian/rules
@@ -42,5 +42,12 @@ override_dh_auto_install:
override_dh_installchangelogs:
dh_installchangelogs src/Changes.txt
+override_dh_link:
+ mkdir -p debian/libqhull-doc/usr/share/doc/libqhull-doc/include
+ @for f in $$(cd debian/tmp && echo usr/include/libqhull/*.h); do \
+ ln --verbose -s /$$f debian/libqhull-doc/usr/share/doc/libqhull-doc/include/; \
+ done
+ dh_link
+
override_dh_compress:
dh_compress -X.c -X.h -X.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