[med-svn] [pftools] 05/10: Install examples properly

Andreas Tille tille at debian.org
Wed Mar 29 14:16:47 UTC 2017


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository pftools.

commit 8a368b404187296f83b6e15a1653900a8c2ece8e
Author: Andreas Tille <tille at debian.org>
Date:   Wed Mar 29 14:13:16 2017 +0200

    Install examples properly
---
 debian/examples | 2 ++
 debian/rules    | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/examples b/debian/examples
new file mode 100644
index 0000000..c4d084c
--- /dev/null
+++ b/debian/examples
@@ -0,0 +1,2 @@
+data/test.sh
+data/test.out
diff --git a/debian/rules b/debian/rules
index 06de486..1a66740 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,8 +25,6 @@ override_dh_installman:
 
 override_dh_installexamples:
 	dh_installexamples
-	mkdir -p debian/$(DEBPKGNAME)/usr/share/doc/$(DEBPKGNAME)/examples
-	mv debian/$(DEBPKGNAME)/usr/lib/$(DEBPKGNAME)/test.* debian/$(DEBPKGNAME)/usr/share/doc/$(DEBPKGNAME)/examples
 	sed -i \
 	    -e "1a ln -sf /usr/lib/$(DEBPKGNAME)/[CGM]* ." \
 	    -e "1a ln -sf /usr/lib/$(DEBPKGNAME)/*.cmp ." \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/pftools.git



More information about the debian-med-commit mailing list