[libdancer-perl] 11/13: debian/rules: remove empty manpages.

gregor herrmann gregoa at debian.org
Wed Oct 8 20:05:31 UTC 2014


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

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

commit e93b9b780a275dc946b35b367476f36686fc5def
Author: gregor herrmann <gregoa at debian.org>
Date:   Wed Oct 8 21:59:00 2014 +0200

    debian/rules: remove empty manpages.
---
 debian/rules | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/debian/rules b/debian/rules
index 2d33f6a..d0407c8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,34 @@
 #!/usr/bin/make -f
 
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
 %:
 	dh $@
+
+override_dh_auto_install:
+	dh_auto_install
+	# remove empty manpages
+	for M in \
+		Dancer::App.3pm \
+		Dancer::Continuation.3pm \
+		Dancer::Continuation::Halted.3pm \
+		Dancer::Continuation::Route.3pm \
+		Dancer::Continuation::Route::ErrorSent.3pm \
+		Dancer::Continuation::Route::FileSent.3pm \
+		Dancer::Continuation::Route::Forwarded.3pm \
+		Dancer::Continuation::Route::Passed.3pm \
+		Dancer::Continuation::Route::Templated.3pm \
+		Dancer::Factory::Hook.3pm \
+		Dancer::GetOpt.3pm \
+		Dancer::Handler.3pm \
+		Dancer::Handler::Standalone.3pm \
+		Dancer::Renderer.3pm \
+		Dancer::Route.3pm \
+		Dancer::Route::Registry.3pm \
+		Dancer::Serializer::Abstract.3pm \
+		Dancer::Serializer::Dumper.3pm \
+		Dancer::SharedData.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/libdancer-perl.git



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