[libkiokudb-perl] 03/04: Don't install empty manpages.

gregor herrmann gregoa at debian.org
Mon Dec 30 15:21:07 UTC 2013


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

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

commit 5de05852947407b29ba09a17934c8d2e87d6e0e8
Author: gregor herrmann <gregoa at debian.org>
Date:   Mon Dec 30 16:17:28 2013 +0100

    Don't install empty manpages.
---
 debian/rules | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/debian/rules b/debian/rules
index 28b294f..0a6f955 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,13 @@ TMP     = $(CURDIR)/debian/$(PACKAGE)
 
 override_dh_auto_install:
 	dh_auto_install
+
 	# mv Japanese manpage to better location
 	dh_installdirs usr/share/man/ja/man3/
 	mv -v $(TMP)/usr/share/man/man3/POD2::JA::KiokuDB::Tutorial.3pm \
 		$(TMP)/usr/share/man/ja/man3/KiokuDB::Tutorial.3pm
+
+	# remove empty manpages
+	for f in $(TMP)/usr/share/man/man3/*.3pm ; do \
+		grep -q DESCRIPTION $$f || $(RM) -v $$f ; \
+	done

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



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