X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=debian%2Frules;h=c11a195f3f3e5f4e3ee20b4b1763bf4edbf216be;hb=4516a47b848b3753e07d35e8c5eeb5c39fc88d4a;hp=25a9e29aa413f94214ca88abc10f983d54980883;hpb=0127d402032231e42344be883a43e6438feb0238;p=collectd.git diff --git a/debian/rules b/debian/rules index 25a9e29a..c11a195f 100755 --- a/debian/rules +++ b/debian/rules @@ -18,7 +18,7 @@ DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) CFLAGS = -Wall -g -PLUGINS = cpu cpufreq disk hddtemp load memory nfs ping processes sensors serial swap traffic users +PLUGINS = hddtemp mysql sensors ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 @@ -72,6 +72,8 @@ install: build # Add here commands to install the package into debian/collectd. $(MAKE) DESTDIR=$(CURDIR)/debian/collectd install + mkdir -p $(CURDIR)/debian/collectd/etc + cp contrib/collectd.conf $(CURDIR)/debian/collectd/etc/ rm $(CURDIR)/debian/collectd/usr/lib/collectd/*.a || true rm $(CURDIR)/debian/collectd/usr/lib/collectd/*.la || true