[slepc] 02/05: Install examples into doc package.
Drew Parsons
dparsons at moszumanska.debian.org
Sun Oct 25 19:02:03 UTC 2015
This is an automated email from the git hooks/post-receive script.
dparsons pushed a commit to branch master
in repository slepc.
commit 56776004aaa0cd6b42775863773f94bf545c3f69
Author: Drew Parsons <dparsons at debian.org>
Date: Sun Oct 25 11:54:29 2015 +0800
Install examples into doc package.
Closes: #726618.
---
debian/changelog | 1 +
debian/rules | 4 +++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index c6b3597..c8c3b40 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
slepc (3.6.1.dfsg1-2) UNRELEASED; urgency=medium
* Build-Depends: gfortran. Closes: #751245, #778123.
+ * Install examples into doc package. Closes: #726618.
-- Drew Parsons <dparsons at debian.org> Sun, 25 Oct 2015 11:07:10 +0800
diff --git a/debian/rules b/debian/rules
index aed2818..7bf0d40 100755
--- a/debian/rules
+++ b/debian/rules
@@ -214,7 +214,9 @@ override_dh_installdocs:
dh_installdocs
dh_install -p$(SLEPC_DOC_PACKAGE) --sourcedir $(PACKAGE_DEBUG_INSTALL_BASEDIR) --autodest $(SLEPC_DIR_DEBUG_PREFIX)/include/*html
dh_install -p$(SLEPC_DOC_PACKAGE) --sourcedir $(PACKAGE_DEBUG_INSTALL_BASEDIR) --autodest $(SLEPC_DIR_DEBUG_PREFIX)/include/slepc/*/*html
-
+ 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
# dh_installchangelogs can't handle a directory of changelog files, so skip them here
override_dh_installchangelogs:
--
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