mirror of
https://github.com/donl/rmilter.git
synced 2026-05-27 22:07:27 -06:00
47 lines
1.1 KiB
Makefile
Executable file
47 lines
1.1 KiB
Makefile
Executable file
#!/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=1
|
|
|
|
package=rmilter
|
|
base=debian/$(package)
|
|
docpkg=${package}-doc
|
|
docdir=${base}-doc/usr/share/doc/$(package)
|
|
libdir=${base}/usr/lib
|
|
sbindir=usr/sbin
|
|
confdir=${base}/etc/
|
|
|
|
#!/usr/bin/make -f
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_auto_configure:
|
|
dh_auto_configure -- \
|
|
--enable-dkim \
|
|
--user rmilter \
|
|
--group rmilter \
|
|
--with-libmilter=/usr/lib/libmilter
|
|
touch configure-stamp
|
|
|
|
override_dh_auto_install:
|
|
dh_install rmilter usr/sbin
|
|
dh_install debian/rmilter.conf etc
|
|
dh_installman
|
|
|
|
override_dh_auto_clean:
|
|
dh_clean
|
|
dh_auto_clean
|
|
rm -f Makefile
|
|
rm -f config.cache
|
|
rm -f config.log
|
|
rm -f md5.c
|
|
rm -f md5.h
|
|
rm -f queue.h
|
|
rm -f strlcpy.c
|
|
rm -f strlcpy.h
|