annotate tests/hostname-stdin/makefile @ 354:08932c629849

reworked the route concept; removed the idea of the localnet Renamed to reflect the actual meaning more clearly: s/online_routes/query_routes/g s/local_net_route/permanent_routes/g Removed local_nets, which are now represented by allowed_recipients in a permanent route. (See. examples/localnet.route) There is no more abiguity between `local' and `local net'. Run admin/config-transition on your config to learn how to update it.
author markus schnalke <meillo@marmaro.de>
date Sun, 04 Sep 2011 11:25:38 +0200
parents 60bb2dbe2866
children 196dfb2a3056
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
c9bce6bb2a5d switched tests dir to ordinary Makefile
meillo@marmaro.de
parents:
diff changeset
1 # Makefile by markus schnalke <meillo@marmaro.de>
c9bce6bb2a5d switched tests dir to ordinary Makefile
meillo@marmaro.de
parents:
diff changeset
2 # heavily based on Makefile.am written by oliver kurth
c9bce6bb2a5d switched tests dir to ordinary Makefile
meillo@marmaro.de
parents:
diff changeset
3
63
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 46
diff changeset
4 all: test test.conf
46
3cb6f383f07e fixed tests/local.sh
meillo@marmaro.de
parents: 6
diff changeset
5 mkdir -p ./input ./lock
6
c9bce6bb2a5d switched tests dir to ordinary Makefile
meillo@marmaro.de
parents:
diff changeset
6
63
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 46
diff changeset
7 test.conf: test.conf.tpl
46
3cb6f383f07e fixed tests/local.sh
meillo@marmaro.de
parents: 6
diff changeset
8 # fails if the current path contains `^'.
63
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 46
diff changeset
9 sed "s/SMTP_HOST/`hostname`/; s^PWD^`pwd`^" $< >$@
6
c9bce6bb2a5d switched tests dir to ordinary Makefile
meillo@marmaro.de
parents:
diff changeset
10
63
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 46
diff changeset
11 test: test.tpl
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 46
diff changeset
12 sed s/RECV_HOST/`hostname`/ $< >$@
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 46
diff changeset
13 chmod +x $@
6
c9bce6bb2a5d switched tests dir to ordinary Makefile
meillo@marmaro.de
parents:
diff changeset
14
c9bce6bb2a5d switched tests dir to ordinary Makefile
meillo@marmaro.de
parents:
diff changeset
15 clean:
63
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 46
diff changeset
16 rm -f test.conf test
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 46
diff changeset
17
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 46
diff changeset
18 realclean: clean
46
3cb6f383f07e fixed tests/local.sh
meillo@marmaro.de
parents: 6
diff changeset
19 rm -rf ./input ./lock
340
60bb2dbe2866 In the tests: replaced logname(1) with $LOGNAME
markus schnalke <meillo@marmaro.de>
parents: 63
diff changeset
20 rm -f *.log $(LOGNAME)