masqmail

view tests/Makefile @ 23:4a3bc3a7afbe

refactoring: early exit instead of deep if levels
author meillo@marmaro.de
date Fri, 05 Dec 2008 11:32:26 +0100
parents
children 3cb6f383f07e
line source
1 # Makefile by markus schnalke <meillo@marmaro.de>
2 # heavily based on Makefile.am written by oliver kurth
4 all: test.conf local.sh smtpout.sh
7 test.conf: conf.templ
8 sed s/SMTP_HOST/`hostname`/ conf.templ > test.conf
10 local.sh: test.templ
11 sed s/RECV_HOST/localhost/ test.templ > local.sh
12 chmod ugo+x local.sh
14 smtpout.sh: test.templ
15 sed s/RECV_HOST/`hostname`/ test.templ > smtpout.sh
16 chmod ugo+x smtpout.sh
18 clean:
19 rm -f test.conf local.sh smtpout.sh