annotate tests/Makefile @ 28:71605f542ecc

flattened conditional nesting
author meillo@marmaro.de
date Thu, 06 May 2010 11:52:34 +0200
parents c9bce6bb2a5d
children 3cb6f383f07e
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
c9bce6bb2a5d switched tests dir to ordinary Makefile
meillo@marmaro.de
parents:
diff changeset
4 all: test.conf local.sh smtpout.sh
c9bce6bb2a5d switched tests dir to ordinary Makefile
meillo@marmaro.de
parents:
diff changeset
5
c9bce6bb2a5d switched tests dir to ordinary Makefile
meillo@marmaro.de
parents:
diff changeset
6
c9bce6bb2a5d switched tests dir to ordinary Makefile
meillo@marmaro.de
parents:
diff changeset
7 test.conf: conf.templ
c9bce6bb2a5d switched tests dir to ordinary Makefile
meillo@marmaro.de
parents:
diff changeset
8 sed s/SMTP_HOST/`hostname`/ conf.templ > test.conf
c9bce6bb2a5d switched tests dir to ordinary Makefile
meillo@marmaro.de
parents:
diff changeset
9
c9bce6bb2a5d switched tests dir to ordinary Makefile
meillo@marmaro.de
parents:
diff changeset
10 local.sh: test.templ
c9bce6bb2a5d switched tests dir to ordinary Makefile
meillo@marmaro.de
parents:
diff changeset
11 sed s/RECV_HOST/localhost/ test.templ > local.sh
c9bce6bb2a5d switched tests dir to ordinary Makefile
meillo@marmaro.de
parents:
diff changeset
12 chmod ugo+x local.sh
c9bce6bb2a5d switched tests dir to ordinary Makefile
meillo@marmaro.de
parents:
diff changeset
13
c9bce6bb2a5d switched tests dir to ordinary Makefile
meillo@marmaro.de
parents:
diff changeset
14 smtpout.sh: test.templ
c9bce6bb2a5d switched tests dir to ordinary Makefile
meillo@marmaro.de
parents:
diff changeset
15 sed s/RECV_HOST/`hostname`/ test.templ > smtpout.sh
c9bce6bb2a5d switched tests dir to ordinary Makefile
meillo@marmaro.de
parents:
diff changeset
16 chmod ugo+x smtpout.sh
c9bce6bb2a5d switched tests dir to ordinary Makefile
meillo@marmaro.de
parents:
diff changeset
17
c9bce6bb2a5d switched tests dir to ordinary Makefile
meillo@marmaro.de
parents:
diff changeset
18 clean:
c9bce6bb2a5d switched tests dir to ordinary Makefile
meillo@marmaro.de
parents:
diff changeset
19 rm -f test.conf local.sh smtpout.sh