masqmail

annotate tests/Makefile @ 11:24872a9fe6e1

merged
author meillo@marmaro.de
date Mon, 27 Oct 2008 16:23:31 +0100
parents
children 3cb6f383f07e
rev   line source
meillo@6 1 # Makefile by markus schnalke <meillo@marmaro.de>
meillo@6 2 # heavily based on Makefile.am written by oliver kurth
meillo@6 3
meillo@6 4 all: test.conf local.sh smtpout.sh
meillo@6 5
meillo@6 6
meillo@6 7 test.conf: conf.templ
meillo@6 8 sed s/SMTP_HOST/`hostname`/ conf.templ > test.conf
meillo@6 9
meillo@6 10 local.sh: test.templ
meillo@6 11 sed s/RECV_HOST/localhost/ test.templ > local.sh
meillo@6 12 chmod ugo+x local.sh
meillo@6 13
meillo@6 14 smtpout.sh: test.templ
meillo@6 15 sed s/RECV_HOST/`hostname`/ test.templ > smtpout.sh
meillo@6 16 chmod ugo+x smtpout.sh
meillo@6 17
meillo@6 18 clean:
meillo@6 19 rm -f test.conf local.sh smtpout.sh