[libpegex-perl] 06/06: remove incomplete manpages

gregor herrmann gregoa at debian.org
Sun Sep 21 17:35:36 UTC 2014


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

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

commit 4bf1d7dcdf070b251a054bc10b17258dceb15770
Author: gregor herrmann <gregoa at debian.org>
Date:   Sun Sep 21 19:34:10 2014 +0200

    remove incomplete manpages
    
    Git-Dch: Ignore
---
 debian/rules | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/debian/rules b/debian/rules
index 2d33f6a..f9ece0e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,24 @@
 #!/usr/bin/make -f
 
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
 %:
 	dh $@
+
+override_dh_auto_install:
+	dh_auto_install
+
+	# rm manpages which are not related to modules
+	# the PODs are still installed but the created manpages
+	# are syntactically invalid
+	for M in \
+		Pegex::API.3pm \
+		Pegex::Miscellany.3pm \
+		Pegex::Overview.3pm \
+		Pegex::Resources.3pm \
+		Pegex::Syntax.3pm \
+		Pegex::Tutorial.3pm \
+		Pegex::Tutorial::Calculator.3pm \
+		Pegex::Tutorial::JSON.3pm \
+	; do $(RM) -v $(TMP)/usr/share/man/man3/$$M ; done

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



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