view tests/relay-to-localhost-mta/makefile @ 285:bdcc2b42eb0f

Heavily reworked man/masqmail.8 I hope the new version is clearer.
author markus schnalke <meillo@marmaro.de>
date Tue, 07 Dec 2010 17:10:07 -0300
parents 49ca781e1503
children 196dfb2a3056
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
	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 $@

clean:
	rm -f test.conf test

realclean: clean
	rm -rf ./input ./lock
	rm -f *.log