view tests/hostname-stdin/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
	mkdir -p spool

test.conf: test.conf.tpl
	# fails if the current path contains `^'.
	sed "s/SMTP_HOST/`hostname`/; s^PWD^`pwd`^" $< >$@

test: test.tpl
	sed s/RECV_HOST/`hostname`/ $< >$@
	chmod +x $@

clean:
	rm -f test.conf test

realclean: clean
	rm -rf spool
	rm -f *.log $(LOGNAME)