diff --git a/debian/rules b/debian/rules
index 17e9846b3b3388167d2aedce5e464c15c09a3946..c13a89f42984bdf21920de2a6294293232bb7379 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-CFLAGS = -Wall -g
+CFLAGS = -Wall -g -UCONFIGFILE -DCONFIGFILE='\"/etc/collection4/collection.conf\"'
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
--prefix=/usr \
--sysconfdir=/etc \
--mandir=\$${prefix}/share/man \
- CFLAGS="$(CFLAGS)"
+ CFLAGS="$(CFLAGS)" LDFLAGS="-lm"
build: build-stamp
[ ! -f Makefile ] || $(MAKE) distclean
dh_clean
+ debconf-updatepo
install: build
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs -a -A AUTHORS README
+ dh_installdebconf -a
dh_link -a
dh_strip -a
dh_compress -a