CFLAGS = -Wall -g
-PLUGINS = hddtemp mysql sensors
+PLUGINS = apache mysql sensors
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
config.status: configure
dh_testdir
# Add here commands to configure the package.
- CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --localstatedir=/var
-
+ CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+ --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \
+ --localstatedir=/var --sysconfdir=/etc
build: build-stamp
# 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