view tests/relay-to-hostname-mta/makefile @ 427:c96a755b5fc4

Typo fix in man page. Reported via Debian.
author markus schnalke <meillo@marmaro.de>
date Mon, 04 Jun 2012 20:02:31 +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