[libdata-objectdriver-perl] 07/08: debian/rules: simplify removal of empty manpages.

gregor herrmann gregoa at debian.org
Sat Sep 30 13:34:06 UTC 2017


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 25b4360fd69dbfbd860c892bcb29538ae17ddea5
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Sep 30 15:31:37 2017 +0200

    debian/rules: simplify removal of empty manpages.
---
 debian/rules | 13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/debian/rules b/debian/rules
index a9d340c..4dbdb0b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,15 +9,4 @@ TMP     = $(CURDIR)/debian/$(PACKAGE)
 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
+	find $(TMP)/usr/share/man/man3 -type f -size 0 -delete

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



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