[slepc] 01/01: install html docs for include/ header files
Drew Parsons
dparsons at moszumanska.debian.org
Sun Jul 31 11:28:42 UTC 2016
This is an automated email from the git hooks/post-receive script.
dparsons pushed a commit to branch experimental
in repository slepc.
commit 7a47930144f9097a62422c6478143767511c490d
Author: Drew Parsons <dparsons at debian.org>
Date: Sun Jul 31 19:01:59 2016 +0800
install html docs for include/ header files
install them in the doc subdir rather than /usr/include
---
debian/rules | 8 +++++---
debian/slepc3.7.2-doc.docs | 1 +
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/debian/rules b/debian/rules
index 09d97e3..4493faf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -163,9 +163,11 @@ override_dh_install:
dh_link -p$(SLEPC_COMPLEX_VERSIONED_DEV_PACKAGE) usr/lib/$(DEB_HOST_MULTIARCH)/libslepc_complex.so.$(SLEPC_VERSION) $(SLEPC_COMPLEX_DIR_PREFIX)/lib/libslepc_complex.so.$(SLEPC_VERSION)
override_dh_installdocs:
- dh_installdocs
- dh_install -p$(SLEPC_DOC_PACKAGE) --sourcedir $(PACKAGE_INSTALL_BASEDIR) --autodest $(SLEPC_DIR_PREFIX)/include/*html
- dh_install -p$(SLEPC_DOC_PACKAGE) --sourcedir $(PACKAGE_INSTALL_BASEDIR) --autodest $(SLEPC_DIR_PREFIX)/include/slepc/*/*html
+ dh_installdocs --exclude=makefile
+ # html docs for header files in include have been installed,
+ # but dh_installdocs cannot exclude the .h (-X.h bans the .html files)
+ # so remove the excess .h files
+ find debian/$(SLEPC_DOC_PACKAGE)/usr/share/doc/$(SLEPC_DOC_PACKAGE)/include -name *.h -o -name *.h90 | xargs rm
for examples in $$( find src -name *example* ); do \
dh_install -p$(SLEPC_DOC_PACKAGE) $$examples/* usr/share/doc/$(SLEPC_DOC_PACKAGE)/examples/$$(echo $$examples | sed "s/src\///; s/examples//" ); \
done
diff --git a/debian/slepc3.7.2-doc.docs b/debian/slepc3.7.2-doc.docs
index d8f8d46..1d0f2ff 100644
--- a/debian/slepc3.7.2-doc.docs
+++ b/debian/slepc3.7.2-doc.docs
@@ -1 +1,2 @@
docs
+include
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/slepc.git
More information about the debian-science-commits
mailing list