[libtoml-parser-perl] 01/02: Remove empty manpages during installation

Lucas Kanashiro kanashiro-guest at moszumanska.debian.org
Tue Aug 18 19:03:56 UTC 2015


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

kanashiro-guest pushed a commit to branch master
in repository libtoml-parser-perl.

commit f7e2444ffc6734a603cd66ad634576659e82525d
Author: Lucas Kanashiro <kanashiro.duarte at gmail.com>
Date:   Tue Aug 18 15:38:04 2015 -0300

    Remove empty manpages during installation
---
 debian/rules | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/debian/rules b/debian/rules
index 2d33f6a..b210fce 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,13 @@
 #!/usr/bin/make -f
 
+PACKAGE = $(firstword $(shell dh_listpackages))
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
 %:
 	dh $@
+
+override_dh_auto_install:
+	dh_auto_install
+	rm --verbose $(TMP)/usr/share/man/man3/TOML::Parser::Tokenizer.3pm
+	rm --verbose $(TMP)/usr/share/man/man3/TOML::Parser::Tokenizer::Strict.3pm
+	rm --verbose $(TMP)/usr/share/man/man3/TOML::Parser::Util.3pm

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



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