[libperl6-export-perl] 11/12: Dont have executable examples without interpreter (lintian warning)

Florian Schlichting fsfs at moszumanska.debian.org
Tue Nov 24 21:23:12 UTC 2015


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

fsfs pushed a commit to branch master
in repository libperl6-export-perl.

commit 7d686846a681890d0d81e28a490b91948c9cff91
Author: Florian Schlichting <fsfs at debian.org>
Date:   Tue Nov 24 22:15:04 2015 +0100

    Dont have executable examples without interpreter (lintian warning)
---
 debian/rules | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/debian/rules b/debian/rules
index 2d33f6a..61f2e52 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
+	# the examples are just examples, really, not intended to be executed
+	chmod -x $(TMP)/usr/share/doc/libperl6-export-perl/examples/*

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



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