[qhull] 03/05: backwards compatibility links in /usr/include/qhull/.

Barak A. Pearlmutter barak+git at cs.nuim.ie
Sat Feb 8 22:49:09 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 d878088bf615b0cc74f02eedbd8ebc885d401de6
Author: Barak A. Pearlmutter <barak+git at cs.nuim.ie>
Date:   Sat Feb 8 22:43:49 2014 +0000

    backwards compatibility links in /usr/include/qhull/.
---
 debian/libqhull-dev.install | 2 +-
 debian/rules                | 6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/libqhull-dev.install b/debian/libqhull-dev.install
index 3ebf988..a0a5a09 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/*/*.h
+usr/include
diff --git a/debian/rules b/debian/rules
index 69dea5f..14b1aea 100755
--- a/debian/rules
+++ b/debian/rules
@@ -41,6 +41,12 @@ override_dh_auto_install:
 	find debian/tmp/usr/lib -type f -name '*.so*' \
 	 -exec chrpath --list '{}' ';' \
 	 -exec chrpath --delete '{}' ';'
+	@echo 'Convenience links for #include <qhull/...>'
+	mkdir -p debian/tmp/usr/include/qhull
+	(cd debian/tmp/usr/include/qhull \
+	 && ln --verbose -s ../libqhull/* ../libqhullcpp/* ./)
+	echo Convenience links for backwards compatibility \
+	 > debian/tmp/usr/include/qhull/README
 
 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