view tests/Makefile @ 31:0267fe9745d5

we should probably add an always-bcc feature
author meillo@marmaro.de
date Thu, 06 May 2010 13:02:40 +0200
parents c9bce6bb2a5d
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