X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=debian%2Frules;h=de41de1871a07ecdca27b19fad2bc9cf035d5f2f;hb=df6f5e387b589b665f3be9099f6a27a84a805e09;hp=42dc7906c65fceeb76a2bc00120ebfbe9686f5a2;hpb=869b1ee6ae9d8e83ef896a78db2d5b00572e95a3;p=collectd.git diff --git a/debian/rules b/debian/rules index 42dc7906..de41de18 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 = mysql sensors +PLUGINS = apache mysql sensors ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 @@ -29,8 +29,9 @@ endif 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 @@ -72,8 +73,6 @@ 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