#!/usr/bin/make -f # Uncomment this to turn on verbose mode. # export DH_VERBOSE=1 build: patch build-stamp build-stamp: dh_testdir $(MAKE) all touch build-stamp clean: clean-patched unpatch clean-patched: dh_testdir dh_testroot rm -f build-stamp install-stamp [ ! -f Makefile ] || $(MAKE) distclean dh_clean patch: patch-stamp patch-stamp: dpatch apply-all dpatch cat-all >patch-stamp unpatch: dpatch deapply-all rm -rf patch-stamp debian/patched install: install-stamp install-stamp: build-stamp dh_testdir dh_testroot dh_clean -k dh_installdirs # Add here commands to install the package into debian/tmp. $(MAKE) prefix=$(CURDIR)/debian/mailcheck install touch install-stamp # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_installdocs dh_installman mailcheck.1 dh_installchangelogs dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb source diff: @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install patch unpatch clean-patched