view tests/localhost-stdin/makefile @ 111:43798acdfbc9

simplified a bit-operation based condition
author meillo@marmaro.de
date Tue, 29 Jun 2010 11:42:51 +0200
parents 0379789a847b
children
line wrap: on
line source

# Makefile by markus schnalke <meillo@marmaro.de>
# heavily based on Makefile.am written by oliver kurth

all: test.conf
	mkdir -p ./input ./lock

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

clean:
	rm -f test.conf

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