[libopengl-perl] 10/11: Fix permissions of some documentation files.
gregor herrmann
gregoa at debian.org
Sat Aug 5 01:34:10 UTC 2017
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libopengl-perl.
commit 839f4fe1d793d7be6573150a9f4b44592dc5ea3b
Author: gregor herrmann <gregoa at debian.org>
Date: Fri Aug 4 21:32:14 2017 -0400
Fix permissions of some documentation files.
---
debian/rules | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/debian/rules b/debian/rules
index 5703719..e58c059 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,7 @@
PACKAGE = $(shell dh_listpackages)
TMP = $(CURDIR)/debian/$(PACKAGE)
+ARCHLIB := $(shell perl -MConfig -e 'print $$Config{vendorarch}')
TEST_FILES=$(wildcard t/*.t)
@@ -14,6 +15,11 @@ override_dh_auto_test:
# run t/*.t, skip test.pl
dh_auto_test -- TEST_FILES="$(TEST_FILES)" TEST_FILE=/dev/null
+override_dh_auto_install:
+ dh_auto_install
+ chmod -x $(TMP)/$(ARCHLIB)/*.pod \
+ $(TMP)/$(ARCHLIB)/OpenGL/*.pod
+
override_dh_installchangelogs:
dh_installchangelogs Release_Notes
@@ -21,3 +27,5 @@ override_dh_installexamples:
dh_installexamples
find $(TMP)/usr/share/doc/$(PACKAGE)/examples -type f -print0 | \
xargs -r0 sed -i -e '1s|^#!/usr/local/bin/perl|#!/usr/bin/perl|'
+ chmod -x $(TMP)/usr/share/doc/$(PACKAGE)/examples/README \
+ $(TMP)/usr/share/doc/$(PACKAGE)/examples/*.txt
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libopengl-perl.git
More information about the Pkg-perl-cvs-commits
mailing list