masqmail
view tests/Makefile @ 58:6ab62592cac4
install docs and examples too
author | meillo@marmaro.de |
---|---|
date | Sat, 29 May 2010 22:33:10 +0200 |
parents | c9bce6bb2a5d |
children |
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
5 mkdir -p ./input ./lock
7 test.conf: conf.templ
8 # fails if the current path contains `^'.
9 sed "s/SMTP_HOST/`hostname`/; s^PWD^`pwd`^" conf.templ > test.conf
11 local.sh: test.templ
12 sed s/RECV_HOST/localhost/ test.templ > local.sh
13 chmod ugo+x local.sh
15 smtpout.sh: test.templ
16 sed s/RECV_HOST/`hostname`/ test.templ > smtpout.sh
17 chmod ugo+x smtpout.sh
19 clean:
20 rm -f test.conf local.sh smtpout.sh
21 rm -rf ./input ./lock