view 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 wrap: on
line source

# Makefile by markus schnalke <meillo@marmaro.de>
# heavily based on Makefile.am written by oliver kurth

all: test.conf local.sh smtpout.sh


test.conf: conf.templ
	sed s/SMTP_HOST/`hostname`/ conf.templ > test.conf

local.sh: test.templ
	sed s/RECV_HOST/localhost/ test.templ > local.sh
	chmod ugo+x local.sh

smtpout.sh: test.templ
	sed s/RECV_HOST/`hostname`/ test.templ > smtpout.sh
	chmod ugo+x smtpout.sh

clean:
	rm -f test.conf local.sh smtpout.sh