mirror of
https://git.proxmox.com/git/proxmox-spamassassin
synced 2025-04-28 14:08:15 +00:00
45 lines
1.3 KiB
Makefile
Executable File
45 lines
1.3 KiB
Makefile
Executable File
#!/usr/bin/make -f
|
|
# Uncomment this to turn on verbose mode.
|
|
#export DH_VERBOSE=1
|
|
|
|
# If set to a true value then MakeMaker's prompt function will
|
|
# always return the default without waiting for user input.
|
|
export PERL_MM_USE_DEFAULT=1
|
|
|
|
PACKAGE=$(shell dh_listpackages)
|
|
|
|
TMP =$(CURDIR)/debian/$(PACKAGE)
|
|
|
|
%:
|
|
dh $@
|
|
|
|
# implicit rules are skipped for phony targets and SA has a 'build' directory
|
|
# in the source
|
|
.PHONY: build
|
|
build:
|
|
dh $@
|
|
|
|
override_dh_auto_test:
|
|
dh_auto_test -- TEST_VERBOSE=0
|
|
|
|
override_dh_auto_install:
|
|
dh_auto_install
|
|
# rm example local.cf
|
|
rm $(TMP)/etc/mail/spamassassin/local.cf
|
|
|
|
# rm config files rendered by PMG templates
|
|
rm $(TMP)/etc/mail/spamassassin/init.pre
|
|
rm $(TMP)/etc/mail/spamassassin/v310.pre
|
|
rm $(TMP)/etc/mail/spamassassin/v320.pre
|
|
rm $(TMP)/etc/mail/spamassassin/v342.pre
|
|
rm $(TMP)/etc/mail/spamassassin/v400.pre
|
|
|
|
# As this is a architecture dependent package, we are not
|
|
# supposed to install stuff to /usr/share. MakeMaker creates
|
|
# the dirs, we delete them from the deb:
|
|
rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/share/perl5
|
|
|
|
override_dh_installdocs:
|
|
dh_installdocs README t/README sql/README.awl sql/README.bayes sql/README spamd/README.vpopmail spamd/README spamd/OSXStartup/README spamc/README.win spamc/README.qmail spamd-apache2/README.apache ldap/README ldap/README.testing
|
|
|