view tests/relay-to-localhost-mta/makefile @ 181:8b17ea9fd17b

added comments on how to compile with glib-1.2
author meillo@marmaro.de
date Wed, 14 Jul 2010 17:37:36 +0200 (2010-07-14)
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