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

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

commit 6af267e8061afacccb59be5fa0dc16636f9433ae
Author: gregor herrmann <gre...@debian.org>
Date:   Thu Jan 14 18:00:47 2016 +0100

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

diff --git a/debian/rules b/debian/rules
index 9a9e564..e67b545 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,9 @@
 
 BADFILE=inc/Test/Builder.pm
 
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
 %:
        dh $@
 
@@ -12,3 +15,20 @@ override_dh_auto_clean:
 override_dh_auto_test:
        [ ! -f $(CURDIR)/$(BADFILE) ] || mv -v $(CURDIR)/$(BADFILE) 
$(CURDIR)/$(BADFILE).broken
        dh_auto_test
+
+override_dh_auto_install:
+       dh_auto_install
+       # remove empty manpages
+       for M in \
+               Data::ObjectDriver::BaseView \
+               Data::ObjectDriver::Driver::Cache::Cache \
+               Data::ObjectDriver::Driver::Cache::RAM \
+               Data::ObjectDriver::Driver::DBD::Pg \
+               Data::ObjectDriver::Driver::DBD::mysql \
+               Data::ObjectDriver::Driver::DBI \
+               Data::ObjectDriver::Driver::GearmanDBI \
+               Data::ObjectDriver::Iterator \
+               ; do \
+               $(RM) -v $(TMP)/usr/share/man/man3/$$M.3pm ; \
+       done
+       

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

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to