3 # Uncomment this to turn on verbose mode.
6 # This is the debhelper compatability version to use.
9 # support the DEB_BUILD_OPTIONS variable (partly stolen from gnome-utils)
12 ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
19 configure: configure-stamp
22 ./configure --with-shadow --enable-fhs \
23 --sysconfdir=/etc/netatalk --with-config-dir=/etc/netatalk \
24 --with-tcp-wrappers --mandir=/usr/share/man --prefix=/usr \
25 --enable-timelord --with-did=last --without-ssl-dir \
26 --with-cracklib=/var/cache/cracklib/cracklib_dict \
31 build: configure-stamp build-stamp
42 rm -f build-stamp configure-stamp
54 $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
56 # Manually move a file that would get installed in the wrong place.
57 mv debian/tmp/etc/netatalk/netatalk.conf debian/netatalk/etc/default/netatalk
59 # Install logcheck files
60 install -m 644 debian/logcheck/ignore.d.server debian/netatalk/etc/logcheck/ignore.d.server/netatalk
61 install -m 644 debian/logcheck/violations.ignore.d debian/netatalk/etc/logcheck/violations.ignore.d/netatalk
63 # Build architecture-independent files here.
64 binary-indep: build install
65 # We have nothing to do by default.
67 binary-arch: build install
74 dh_installinit --update-rcd-params="defaults 50 50"
77 dh_installchangelogs ChangeLog
90 binary: binary-indep binary-arch
91 .PHONY: build clean binary-indep binary-arch binary install configure