[libimage-info-perl] 01/02: Add dh_auto_install override to not install Bundle:: modules

Salvatore Bonaccorso carnil at debian.org
Thu Nov 3 21:39:21 UTC 2016


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

carnil pushed a commit to branch master
in repository libimage-info-perl.

commit 3535147e3382f524acce206f94cf4cf5a123d84c
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Thu Nov 3 22:30:02 2016 +0100

    Add dh_auto_install override to not install Bundle:: modules
    
    Avoid as well installing the generated manpages for the Bundle::
    modules. They are not used within Debian.
---
 debian/rules | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/debian/rules b/debian/rules
index 2d33f6a..619403c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,17 @@
 #!/usr/bin/make -f
 
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
 %:
 	dh $@
+
+override_dh_auto_install:
+	dh_auto_install
+	rm -rvf -- $(TMP)/usr/share/perl5/Bundle
+	# Remove empty manpages
+	rm -v -- $(TMP)/usr/share/man/man3/Bundle::Image::Info::Everything.3pm
+	rm -v -- $(TMP)/usr/share/man/man3/Bundle::Image::Info::PNG.3pm
+	rm -v -- $(TMP)/usr/share/man/man3/Bundle::Image::Info::SVG.3pm
+	rm -v -- $(TMP)/usr/share/man/man3/Bundle::Image::Info::XBM.3pm
+	rm -v -- $(TMP)/usr/share/man/man3/Bundle::Image::Info::XPM.3pm

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



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