[libclang-perl] 01/02: Don't install README POD/manpage.

gregor herrmann gregoa at debian.org
Sun Jul 19 11:11:57 UTC 2015


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

gregoa pushed a commit to branch master
in repository libclang-perl.

commit a3130fc7516b015b894581caec1f76d9b4612de4
Author: gregor herrmann <gregoa at debian.org>
Date:   Sun Jul 19 13:08:05 2015 +0200

    Don't install README POD/manpage.
    
    Thanks: Andreas Beckmann for the bug report.
    Closes: #792845
---
 debian/rules | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/debian/rules b/debian/rules
index 3367f90..e1b8283 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,17 @@
 #!/usr/bin/make -f
 
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+ARCHLIB := $(shell perl -MConfig -e 'print $$Config{vendorarch}')
+
 %:
 	dh $@
 
 override_dh_auto_build:
 	dh_auto_build
 	chrpath -d $(CURDIR)/blib/arch/auto/Clang/Clang.so
+
+override_dh_auto_install:
+	dh_auto_install
+	$(RM) -v $(TMP)/usr/share/man/man3/README.3pm \
+		$(TMP)$(ARCHLIB)/README.pod

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



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