Mercurial > masqmail
view tests/relay-to-hostname-mta/makefile @ 425:a19e47ebbb33
Create the spool and log dirs on program startup if missing.
They are not anymore created during installation.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Wed, 30 May 2012 11:38:03 +0200 |
parents | 196dfb2a3056 |
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 spool 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`\" >$@ echo "resolve_list = byname" >>$@ clean: rm -f test.conf test test.route realclean: clean rm -rf spool rm -f *.log