6
|
1 # Makefile by markus schnalke <meillo@marmaro.de>
|
|
2 # heavily based on Makefile.am written by oliver kurth
|
|
3
|
|
4 all: test.conf local.sh smtpout.sh
|
|
5
|
|
6
|
|
7 test.conf: conf.templ
|
|
8 sed s/SMTP_HOST/`hostname`/ conf.templ > test.conf
|
|
9
|
|
10 local.sh: test.templ
|
|
11 sed s/RECV_HOST/localhost/ test.templ > local.sh
|
|
12 chmod ugo+x local.sh
|
|
13
|
|
14 smtpout.sh: test.templ
|
|
15 sed s/RECV_HOST/`hostname`/ test.templ > smtpout.sh
|
|
16 chmod ugo+x smtpout.sh
|
|
17
|
|
18 clean:
|
|
19 rm -f test.conf local.sh smtpout.sh
|