Code

Install extractDS.px and migrate-3-4.px to /usr/lib/collectd/utils/.
authorSebastian Harl <sh@tokkee.org>
Wed, 25 Apr 2007 07:37:55 +0000 (09:37 +0200)
committerSebastian Harl <sh@tokkee.org>
Wed, 2 May 2007 18:00:53 +0000 (18:00 +0000)
debian/rules

index 21e2e3e6625019b2aa344faca66df71c39e6a803..385a28c09bf5fafc887736922c873d5cd4e2f04c 100755 (executable)
@@ -83,7 +83,12 @@ install-arch: build
                mkdir -p $$plugin_dir; \
                mv $(CURDIR)/debian/collectd/usr/lib/collectd/$$PLUGIN.so \
                        $$plugin_dir; \
-       done    
+       done
+       
+       mkdir -p debian/collectd/usr/lib/collectd/utils/
+       for UTIL in extractDS.px migrate-3-4.px; do \
+               cp contrib/$$UTIL debian/collectd/usr/lib/collectd/utils/; \
+       done
 
 binary-indep: install-indep
        dh_testdir
@@ -104,8 +109,7 @@ binary-arch: build install-arch
        dh_installchangelogs -a ChangeLog
        dh_installdocs -A -a debian/README.Debian AUTHORS README TODO
        dh_installexamples -a contrib/collectd2html.pl contrib/collection.cgi \
-               contrib/PerlLib/ contrib/SpamAssassin/ contrib/iptables/ \
-               contrib/extractDS.px contrib/migrate-3-4.px
+               contrib/PerlLib/ contrib/SpamAssassin/ contrib/iptables/
        dh_installinit -a -- defaults 95
        dh_installman -a src/collectd.1 src/collectd.conf.5
        dh_link -a