X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=debian%2Frules;h=42dc7906c65fceeb76a2bc00120ebfbe9686f5a2;hb=869b1ee6ae9d8e83ef896a78db2d5b00572e95a3;hp=3198d15a67cb40bbb7cd4837408117648d0596d9;hpb=c528389ef1e803917f26c85002660485294788e5;p=collectd.git diff --git a/debian/rules b/debian/rules index 3198d15a..42dc7906 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 +PLUGINS = 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