7 # support the DEB_BUILD_OPTIONS variable (partly stolen from gnome-utils)
10 ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
21 ./configure --with-shadow \
22 --enable-fhs --sysconfdir=/etc/netatalk \
23 --with-tcp-wrappers --mandir=/usr/share/man --prefix=/usr \
24 --enable-timelord --with-did=last
35 binary: binary-arch binary-indep
45 $(MAKE) install DESTDIR="`pwd`/debian/tmp" # CFLAGS="-Wall -O2"
47 # Remove a config file that is not used by the Debian init script.
48 rm debian/tmp/etc/netatalk/netatalk.conf
51 dh_installinit --update-rcd-params="defaults 50 50"
54 dh_installchangelogs ChangeLog
56 # Manually remove a header file that is shipped with glibc and
58 rm debian/tmp/usr/include/netatalk/at.h
60 # Remove /usr/bin/timeout and timeout(1) as they conflict with
61 # the timeout package.
62 rm debian/tmp/usr/bin/timeout
63 rm debian/tmp/usr/share/man/man1/timeout.1.gz
66 rmdir debian/tmp/usr/include/atalk debian/tmp/usr/include/netatalk
67 rmdir debian/tmp/usr/include
68 rmdir debian/tmp/usr/share/aclocal
69 rmdir debian/tmp/usr/share/man/man3 debian/tmp/usr/share/man/man4
80 .PHONY: clean binary binary-arch binary-indep