[libzmq-ffi-perl] 06/06: don't install empty manpages

gregor herrmann gregoa at debian.org
Mon Jun 27 16:11:18 UTC 2016


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

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

commit 30deb0f33cb31f22d32458ed8651dc1cb52a6127
Author: gregor herrmann <gregoa at debian.org>
Date:   Mon Jun 27 17:47:03 2016 +0200

    don't install empty manpages
    
    Gbp-Dch: Ignore
---
 debian/rules | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/debian/rules b/debian/rules
index 2d33f6a..8754068 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,23 @@
 #!/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 \
+		ContextRole \
+		ErrorHelper \
+		SocketRole \
+		Versioner \
+		ZMQ2::Context \
+		ZMQ2::Socket \
+		ZMQ3::Context \
+		ZMQ3::Socket \
+	; do \
+		$(RM) -v $(TMP)/usr/share/man/man3/ZMQ::FFI::$$M.3pm ; \
+	done

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



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