masqmail-0.2

diff tests/Makefile @ 6:c9bce6bb2a5d

switched tests dir to ordinary Makefile
author meillo@marmaro.de
date Fri, 26 Sep 2008 22:55:52 +0200
parents
children 3cb6f383f07e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tests/Makefile	Fri Sep 26 22:55:52 2008 +0200
     1.3 @@ -0,0 +1,19 @@
     1.4 +# Makefile by markus schnalke <meillo@marmaro.de>
     1.5 +# heavily based on Makefile.am written by oliver kurth
     1.6 +
     1.7 +all: test.conf local.sh smtpout.sh
     1.8 +
     1.9 +
    1.10 +test.conf: conf.templ
    1.11 +	sed s/SMTP_HOST/`hostname`/ conf.templ > test.conf
    1.12 +
    1.13 +local.sh: test.templ
    1.14 +	sed s/RECV_HOST/localhost/ test.templ > local.sh
    1.15 +	chmod ugo+x local.sh
    1.16 +
    1.17 +smtpout.sh: test.templ
    1.18 +	sed s/RECV_HOST/`hostname`/ test.templ > smtpout.sh
    1.19 +	chmod ugo+x smtpout.sh
    1.20 +
    1.21 +clean:
    1.22 +	rm -f test.conf local.sh smtpout.sh