3 # Uncomment the following line to enable OpenSSL support. (If it's installed.)
6 # Uncomment this to turn on verbose mode.
9 # This is the debhelper compatability version to use.
12 # support the DEB_BUILD_OPTIONS variable (partly stolen from gnome-utils)
15 ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
23 --with-shadow --enable-fhs --sysconfdir=/etc/netatalk \
24 --with-tcp-wrappers --mandir=/usr/share/man --prefix=/usr \
25 --enable-timelord --enable-overwrite \
26 --with-cracklib=/var/cache/cracklib/cracklib_dict
27 ifneq "x$(USE_SSL)" "xyes"
28 CONFIGURE_FLAGS += --without-ssl-dir
31 configure: configure-stamp
35 ./configure $(CONFIGURE_FLAGS)
39 build: configure-stamp build-stamp
50 rm -f build-stamp configure-stamp
62 $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
64 # Manually move a file that would get installed in the wrong place.
65 mv debian/tmp/etc/netatalk/netatalk.conf debian/netatalk/etc/default/netatalk
67 # Install logcheck files
68 install -m 644 debian/logcheck/ignore.d.server debian/netatalk/etc/logcheck/ignore.d.server/netatalk
69 install -m 644 debian/logcheck/violations.ignore.d debian/netatalk/etc/logcheck/violations.ignore.d/netatalk
71 # Build architecture-independent files here.
72 binary-indep: build install
73 # We have nothing to do by default.
75 binary-arch: build install
82 dh_installinit --update-rcd-params="defaults 50 50"
85 dh_installchangelogs ChangeLog
98 binary: binary-indep binary-arch
99 .PHONY: build clean binary-indep binary-arch binary install configure