[libterm-shell-perl] 02/05: Ship all provided example scripts

Florian Schlichting fsfs at alioth.debian.org
Thu Sep 19 21:54:16 UTC 2013


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

fsfs pushed a commit to branch master
in repository libterm-shell-perl.

commit 53bec570e404dc0c98a10e8f675199a4e7e2fbcd
Author: Florian Schlichting <fsfs at debian.org>
Date:   Thu Sep 19 23:39:37 2013 +0200

    Ship all provided example scripts
---
 debian/libterm-shell-perl.examples |    2 +-
 debian/rules                       |    7 +++++++
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/libterm-shell-perl.examples b/debian/libterm-shell-perl.examples
index 7918e26..e39721e 100644
--- a/debian/libterm-shell-perl.examples
+++ b/debian/libterm-shell-perl.examples
@@ -1 +1 @@
-examples/psh.pl
+examples/*
diff --git a/debian/rules b/debian/rules
index 90acab5..c0e9037 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,5 +2,12 @@
 
 export LC_ALL=C
 
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
 %:
 	dh $@
+
+override_dh_installexamples:
+	dh_installexamples
+	sed -i -e '1s|#!perl|#!/usr/bin/perl|' $(TMP)/usr/share/doc/libterm-shell-perl/examples/old-test.pl

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libterm-shell-perl.git



More information about the Pkg-perl-cvs-commits mailing list