6 dh $@ --parallel --with autotools_dev
8 override_dh_auto_configure:
9 SPAMC="/usr/bin/spamc" SENDMAIL="/usr/sbin/sendmail" \
12 override_dh_auto_clean:
14 rm -f config.log config.status config.h Makefile stamp-h1 spamass-milter.1
16 # PREFIX=$(shell pwd)/debian/spamass-milter/usr
22 # if [ -e debian/patches ]; then \
23 # for a in `ls debian/patches/*.diff`; do \
24 # patch -f -p0 < $$a; \
28 # rm -f unpatch-stamp;
31 # unpatch: unpatch-stamp
35 # if [ -e debian/patches ]; then \
36 # for a in `ls debian/patches/*.diff`; do \
37 # patch -f -p0 -R < $$a; \
45 # configure: configure-stamp
48 # # SPAMC and SENDMAIL are the location of the spamc and sendmail binary, respectively. PREFIX is the location to install to.
49 # # We must specify --mandir because for some ungodly reason, it's being installed into /usr/man by default
50 # LDFLAGS="-L/usr/lib/libmilter" SPAMC="/usr/bin/spamc" SENDMAIL="/usr/sbin/sendmail" \
51 # ./configure --prefix=$(PREFIX) --mandir=$(PREFIX)/share/man
54 # build: configure build-stamp
69 # rm -f configure-stamp
71 # if [ -e Makefile -a -e config.status ]; then \
74 # # the clean target doesn't nuke these, so we kill them here.
75 # rm -f config.log config.h config.status
88 # binary-arch: build install
91 # dh_installchangelogs ChangeLog
92 # dh_installdocs NEWS README
105 # binary: binary-arch
106 # .PHONY: build clean binary-arch binary-indep binary install