masqmail-0.2

annotate tests/Makefile @ 52:c80a5730bcc5

next release will be 0.2.23
author meillo@marmaro.de
date Thu, 27 May 2010 13:33:14 +0200
parents c9bce6bb2a5d
children
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@46 5 mkdir -p ./input ./lock
meillo@6 6
meillo@6 7 test.conf: conf.templ
meillo@46 8 # fails if the current path contains `^'.
meillo@46 9 sed "s/SMTP_HOST/`hostname`/; s^PWD^`pwd`^" conf.templ > test.conf
meillo@6 10
meillo@6 11 local.sh: test.templ
meillo@6 12 sed s/RECV_HOST/localhost/ test.templ > local.sh
meillo@6 13 chmod ugo+x local.sh
meillo@6 14
meillo@6 15 smtpout.sh: test.templ
meillo@6 16 sed s/RECV_HOST/`hostname`/ test.templ > smtpout.sh
meillo@6 17 chmod ugo+x smtpout.sh
meillo@6 18
meillo@6 19 clean:
meillo@6 20 rm -f test.conf local.sh smtpout.sh
meillo@46 21 rm -rf ./input ./lock