masqmail

annotate tests/Makefile @ 50:1761b3bde646

fixed wrong paths in the md5sum file (gen-dist)
author meillo@marmaro.de
date Thu, 20 May 2010 21:49:24 +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