Rev 82 | Blame | Compare with Previous | Last modification | View Log | RSS feed
#!/usr/bin/make -f# Sample debian/rules that uses debhelper.# GNU copyright 1997 to 1999 by Joey Hess.# Uncomment this to turn on verbose mode.#export DH_VERBOSE=1CFLAGS := $(shell dpkg-buildflags --get CFLAGS)CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)build: build-archbuild-indep:build-arch: build-stampbuild-stamp:dh_testdir$(MAKE) BUILDCFLAGS='-DLOCAL_SCAN -I/usr/include/exim4 -fPIC $$(CPPFLAGS) $$(CFLAGS)' \CPPFLAGS='$(CPPFLAGS)' CFLAGS='$(CFLAGS)' LDFLAGS='-shared $(LDFLAGS)' SUFF=''touch build-stampclean:dh_testdirdh_testrootrm -f build-stamp$(MAKE) cleandh_clean# Build architecture-independent files here.binary-indep:# We have nothing to do by default.# Build architecture-dependent files here.binary-arch: builddh_testdirdh_testrootdh_prepdh_installdh_installchangelogs Changelog.htmldh_installdocsdh_installexamplesdh_installdebconfdh_installmandh_installcron --name=greylistcleandh_lintiandh_linkdh_stripdh_compressdh_fixpermsdh_perldh_installdebdh_shlibdepsecho "exim:Depends=exim4-localscanapi-`exim4-localscan-plugin-config --localscan-apiversion`" \>> debian/sa-exim.substvarsdh_gencontroldh_md5sumsdh_builddebbinary: binary-indep binary-arch.PHONY: build build-indep build-arch clean binary-indep binary-arch binary