view tests/localhost-stdin/makefile @ 65:66d47cc69611

install to /usr/local by default (was /usr)
author meillo@marmaro.de
date Sun, 30 May 2010 16:54:59 +0200
parents 0379789a847b
children 60bb2dbe2866
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`