masqmail

annotate tests/Makefile @ 20:afa373478034

Added tag 0.2.21 for changeset 08114f7dcc23
author meillo@marmaro.de
date Thu, 04 Dec 2008 09:45:01 +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