[med-svn] [hinge] 02/03: Install examples
Afif Elghraoui
afif at moszumanska.debian.org
Fri Oct 20 04:33:34 UTC 2017
This is an automated email from the git hooks/post-receive script.
afif pushed a commit to branch master
in repository hinge.
commit 17b6786e445044c60f1ea8bc12255c56a0e8879e
Author: Afif Elghraoui <afif at debian.org>
Date: Fri Oct 20 00:19:53 2017 -0400
Install examples
---
debian/examples | 1 +
debian/rules | 7 +++++++
2 files changed, 8 insertions(+)
diff --git a/debian/examples b/debian/examples
new file mode 100644
index 0000000..1549b67
--- /dev/null
+++ b/debian/examples
@@ -0,0 +1 @@
+demo
diff --git a/debian/rules b/debian/rules
index aee658d..2564532 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,3 +3,10 @@
%:
dh $@ --buildsystem=cmake
+
+override_dh_installexamples:
+ dh_installexamples
+ # only install nominal.ini from the utils/ directory, but preserve
+ # the directory structure (since demo scripts expect it)
+ mkdir -p debian/hinge/usr/share/doc/hinge/examples/utils \
+ && cp utils/nominal.ini debian/hinge/usr/share/doc/hinge/examples/utils
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/hinge.git
More information about the debian-med-commit
mailing list