[libnet-statsd-perl] 08/09: Fix avoid installing excess files.

Jonas Smedegaard dr at jones.dk
Tue Feb 16 09:50:09 UTC 2016


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

js pushed a commit to branch master
in repository libnet-statsd-perl.

commit b34df95c02e27d642503e53328879f59ee5873c5
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Mon Feb 15 17:33:43 2016 +0100

    Fix avoid installing excess files.
---
 debian/rules | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 6f3e029..e720242 100755
--- a/debian/rules
+++ b/debian/rules
@@ -33,4 +33,9 @@ CDBS_BUILD_DEPENDS_rules_debhelper_v9 = debhelper
 # include example script only as such
 DEB_INSTALL_EXAMPLES_$(pkg) = bin/benchmark.pl
 binary-post-install/$(pkg)::
-	find $(cdbs_curdestdir)usr/share/perl5 -name benchmark.pl -delete
+	find \
+		$(cdbs_curdestdir)usr/bin \
+		$(cdbs_curdestdir)usr/share/perl5 \
+		$(cdbs_curdestdir)usr/share/man \
+		-regex '.*\(benchmark\|README\).*' -delete
+	find $(cdbs_curdestdir)usr -empty -delete

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



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