From d8c01f4494a1f8859e82d96f2a16ce4fb985ebf3 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sun, 30 Aug 2009 11:30:01 +0200 Subject: [PATCH] rules: Removed unused files from contrib/collection3/. The upstream tarball had been built in a dirty working directory. --- debian/rules | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/rules b/debian/rules index 4e0454d..683c271 100755 --- a/debian/rules +++ b/debian/rules @@ -170,6 +170,12 @@ binary-arch: build install-arch contrib/snmp-data.conf contrib/add_rra.sh contrib/network-proxy.py \ contrib/collectd-network.py contrib/collectd-unixsock.py \ contrib/snmp-probe-host.px + # the 4.7.2 upstream tarball had been built inside a dirty working dir + ( cd debian/collectd/usr/share/doc/collectd/examples/collection3/ \ + && rm -f bin/foo bin/test_config.px etc/collection4.conf \ + && rm -f lib/Collectd/Graph.pm lib/Collectd/Graph/Data.pm \ + && rm -f lib/Collectd/Graph/File.pm lib/Collectd/Graph/Filter.pm \ + && rm -f lib/Collectd/Graph/MetaData.pm ) dh_installdebconf -a dh_installinit -a -- defaults 95 dh_link -a -- 2.30.2