Mercurial > masqmail-0.2
view tests/relay-to-hostname-mta/makefile @ 80:e5090ac234cf
refactoring plus one small bugfix
replaced deep nested conditionals with early exits
fixed a small bug in the same go (Note: it is bad to fix
bugs during refactoring): The SMTP_HELO case did not break
in case of error. Now it does.
author | meillo@marmaro.de |
---|---|
date | Sat, 19 Jun 2010 11:11:28 +0200 |
parents | 49ca781e1503 |
children |
line wrap: on
line source
# Makefile by markus schnalke <meillo@marmaro.de> # heavily based on Makefile.am written by oliver kurth all: test test.conf test.route mkdir -p ./input ./lock test.conf: test.conf.tpl # fails if the current path contains `^'. sed "s^PWD^`pwd`^" $< >$@ test: test.tpl sed s/RECV_HOST/`hostname`/ $< >$@ chmod +x $@ test.route: echo mail_host=\"`hostname`\" >$@ clean: rm -f test.conf test test.route realclean: clean rm -rf ./input ./lock rm -f *.log