[SCM] Packaging of Number::Tolerant in Debian branch, master, updated. 5825e3c70e83ff785beed79280dc34e40b6f9ac0
Alexandre Mestiashvili
alex at biotec.tu-dresden.de
Thu Apr 18 09:17:51 UTC 2013
The following commit has been merged in the master branch:
commit ea0d40128d34686a1a3bd4fa839061d3c38099af
Author: Alexandre Mestiashvili <alex at biotec.tu-dresden.de>
Date: Thu Apr 18 09:27:41 2013 +0200
remove empty man pages
diff --git a/debian/rules b/debian/rules
index 2d33f6a..c1561d6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,15 @@
#!/usr/bin/make -f
-%:
+PACKAGE = $(shell dh_listpackages)
+MANDIR = $(CURDIR)/debian/$(PACKAGE)/usr/share/man/man3
+
+%:
dh $@
+
+override_dh_auto_install:
+ dh_auto_install
+ # remove empty manpage without whatis entry
+ for i in constant infinite less_than more_than offset or_less \
+or_more plus_or_minus plus_or_minus_pct to ; do \
+ $(RM) -v $(MANDIR)/Number::Tolerant::Type::$$i.3pm; \
+ done
--
Packaging of Number::Tolerant in Debian
More information about the Pkg-perl-cvs-commits
mailing list