Code

Cleaned up installation of collectd.conf.
authorSebastian Harl <sh@tokkee.org>
Sun, 9 Jul 2006 19:32:27 +0000 (19:32 +0000)
committerSebastian Harl <sh@tokkee.org>
Sun, 9 Jul 2006 19:32:27 +0000 (19:32 +0000)
Moving collectd.conf from /etc to /usr/share/doc/collectd/examples in rules
instead of deleting and copying from src/ again.

debian/rules

index 2d5270e68fd29f2ffc43c3264d52c2da7b63ded4..962f2e383ab2b1f0f9b1b64117ec53fd32958424 100755 (executable)
@@ -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/; \