comparison tests/hostname-stdin/makefile @ 423:196dfb2a3056

Updated tests to the changes on spool dir.
author markus schnalke <meillo@marmaro.de>
date Wed, 30 May 2012 10:38:29 +0200
parents 60bb2dbe2866
children
comparison
equal deleted inserted replaced
422:bdbedce60247 423:196dfb2a3056
1 # Makefile by markus schnalke <meillo@marmaro.de> 1 # Makefile by markus schnalke <meillo@marmaro.de>
2 # heavily based on Makefile.am written by oliver kurth 2 # heavily based on Makefile.am written by oliver kurth
3 3
4 all: test test.conf 4 all: test test.conf
5 mkdir -p ./input ./lock 5 mkdir -p spool
6 6
7 test.conf: test.conf.tpl 7 test.conf: test.conf.tpl
8 # fails if the current path contains `^'. 8 # fails if the current path contains `^'.
9 sed "s/SMTP_HOST/`hostname`/; s^PWD^`pwd`^" $< >$@ 9 sed "s/SMTP_HOST/`hostname`/; s^PWD^`pwd`^" $< >$@
10 10
14 14
15 clean: 15 clean:
16 rm -f test.conf test 16 rm -f test.conf test
17 17
18 realclean: clean 18 realclean: clean
19 rm -rf ./input ./lock 19 rm -rf spool
20 rm -f *.log $(LOGNAME) 20 rm -f *.log $(LOGNAME)