Rev 18 | Blame | Compare with Previous | Last modification | View Log | RSS feed
#!/usr/bin/make -f# -*- makefile -*-# Sample debian/rules that uses debhelper.# This file was originally written by Joey Hess and Craig Small.# As a special exception, when this file is copied by dh-make into a# dh-make output file, you may use that output file without restriction.# This special exception was added by Craig Small in version 0.37 of dh-make.# Uncomment this to turn on verbose mode.#export DH_VERBOSE=1include /usr/share/dpatch/dpatch.makeexport CXXFLAGS = -Wall -gifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))CXXFLAGS += -O0elseCXXFLAGS += -O2endifconfigure: MakefileMakefile: $(DPATCH_STAMPFN) debian/pmkfiledh_testdirln -sf $(CURDIR)/debian/libdkim.pc.in src/libdkim.pc.pmkpmk -f debian/pmkfilebuild: build-stampbuild-stamp: configuredh_testdir(cd src && $(MAKE) -f ../Makefile)touch $@clean: clean-patched unpatchclean-patched:dh_testdirdh_testrootrm -f build-stamp configure-stamp[ ! -f Makefile ] || (cd src && $(MAKE) -f ../Makefile distclean)rm -f src/*.in debian/configurerm -rf debian/autom4te.cachedh_cleaninstall: builddh_testdirdh_testrootdh_clean -kdh_installdirs(cd src && $(MAKE) -f ../Makefile install DESTDIR=$(CURDIR)/debian/tmp)## Build architecture-independent files here.binary-indep: build install# We have nothing to do by default.# Build architecture-dependent files here.binary-arch: build installdh_testdirdh_testrootdh_install --sourcedir=debian/tmpdh_linkdh_installchangelogs -k READMEdh_installdocsdh_installexamples# dh_installinfo# dh_installmandh_stripdh_compressdh_fixpermsdh_makeshlibsdh_installdebdh_shlibdepsdh_gencontroldh_md5sumsdh_builddebbinary: binary-indep binary-arch.PHONY: patch unpatch build clean binary-indep binary-arch binary install configure