* Refer to README.Debian in addition to INSTALL. postfix-policyd-spf-perl/trunk/INSTALL * Minor corrections and additions. postfix-policyd-spf-perl/trunk/debian/README.Debian * Added, including installation instructions from INSTALL that are relevant on Debian systems. postfix-policyd-spf-perl/trunk/debian/control * Build-Depends: debhelper (was: Build-Depends-Indep:) postfix-policyd-spf-perl/trunk/debian/rules * "build" target no longer depends on inexistent "build-stamp" target.
56 lines
910 B
Makefile
Executable file
56 lines
910 B
Makefile
Executable file
#!/usr/bin/make -f
|
|
|
|
PACKAGE = $(shell dh_listpackages)
|
|
|
|
ifndef PERL
|
|
PERL = /usr/bin/perl
|
|
endif
|
|
|
|
TMP = $(CURDIR)/debian/$(PACKAGE)
|
|
|
|
build:
|
|
# Nothing to do.
|
|
|
|
clean:
|
|
dh_testdir
|
|
dh_testroot
|
|
dh_clean build-stamp install-stamp
|
|
|
|
install: install-stamp
|
|
install-stamp:
|
|
dh_testdir
|
|
dh_testroot
|
|
dh_clean -k
|
|
|
|
install -D postfix-policyd-spf-perl $(TMP)/usr/lib/postfix/policyd-spf-perl
|
|
|
|
touch install-stamp
|
|
|
|
# Build architecture-independent files here:
|
|
binary-indep: build install
|
|
dh_testdir
|
|
dh_testroot
|
|
|
|
dh_install
|
|
dh_installdirs
|
|
dh_installdocs README
|
|
dh_installchangelogs CHANGES
|
|
#dh_installexamples examples/*
|
|
#dh_installman
|
|
#dh_link
|
|
|
|
dh_compress
|
|
dh_fixperms
|
|
dh_installdeb
|
|
dh_perl
|
|
dh_gencontrol
|
|
dh_md5sums
|
|
dh_builddeb
|
|
|
|
# Build architecture-dependent files here:
|
|
binary-arch:
|
|
# Nothing to do.
|
|
|
|
binary: binary-indep binary-arch
|
|
|
|
.PHONY: build clean binary-indep binary-arch binary install
|