[SCM] Debian packaging of Regexp-Assemble CPAN distribution branch, master, updated. debian/0.35-6-20-g9e4c53a
Xavier Guimard
x.guimard at free.fr
Mon Apr 1 11:43:18 UTC 2013
The following commit has been merged in the master branch:
commit 0b1260ba8c7be2cdfd8e98de7a9436374956e6e3
Author: Xavier Guimard <x.guimard at free.fr>
Date: Mon Apr 1 13:39:51 2013 +0200
Add an override to replace bad-interpreters patches
diff --git a/debian/rules b/debian/rules
index cbe925d..ac04f0c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,3 +1,13 @@
#!/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[0-9\.]*|#!/usr/bin/perl|'
+
--
Debian packaging of Regexp-Assemble CPAN distribution
More information about the Pkg-perl-cvs-commits
mailing list