From: Sebastian Harl Date: Sun, 9 Jul 2006 19:32:27 +0000 (+0000) Subject: Cleaned up installation of collectd.conf. X-Git-Tag: collectd-3.10.0-1~2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3de1088e7c4d7c69f921bab4658bf07cfbe10d64;p=pkg-collectd.git Cleaned up installation of collectd.conf. Moving collectd.conf from /etc to /usr/share/doc/collectd/examples in rules instead of deleting and copying from src/ again. --- diff --git a/debian/rules b/debian/rules index 2d5270e..962f2e3 100755 --- a/debian/rules +++ b/debian/rules @@ -67,11 +67,10 @@ install-arch: build $(MAKE) install DESTDIR=$(CURDIR)/debian/collectd rm -f $(CURDIR)/debian/collectd/usr/lib/collectd/*.la - rm -f $(CURDIR)/debian/collectd/etc/collectd.conf doc_dir=$(CURDIR)/debian/collectd/usr/share/doc/collectd/examples \ && mkdir -p $$doc_dir \ - && cp src/collectd.conf $$doc_dir + && mv $(CURDIR)/debian/collectd/etc/collectd.conf $$doc_dir for PLUGIN in apache hddtemp mysql sensors; do \ plugin_dir=$(CURDIR)/debian/collectd-$$PLUGIN/usr/lib/collectd/; \