[libtext-xslate-perl] 04/10: d/rules
Nick Morrott
nickm-guest at moszumanska.debian.org
Sun Mar 27 05:41:37 UTC 2016
This is an automated email from the git hooks/post-receive script.
nickm-guest pushed a commit to branch master
in repository libtext-xslate-perl.
commit 9728fd38c94c6525b245219a6c681be11772685b
Author: Nick Morrott <knowledgejunkie at gmail.com>
Date: Sun Mar 27 03:48:17 2016 +0100
d/rules
---
debian/rules | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/debian/rules b/debian/rules
index 2d33f6a..27781d6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,12 @@
#!/usr/bin/make -f
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
+
%:
dh $@
+
+override_dh_installexamples:
+ dh_installexamples
+ find $(TMP)/usr/share/doc/$(PACKAGE)/examples -type f -print0 | xargs -r0 sed -i -e '1s|^#!perl|#!/usr/bin/perl|'
+ find $(TMP)/usr/share/doc/$(PACKAGE)/examples -type f -print0 | xargs -r0 sed -i -e '1s|^#!psgi|#!/usr/bin/perl|'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libtext-xslate-perl.git
More information about the Pkg-perl-cvs-commits
mailing list