meillo@6: # Makefile by markus schnalke meillo@6: # heavily based on Makefile.am written by oliver kurth meillo@6: meillo@6: all: test.conf local.sh smtpout.sh meillo@46: mkdir -p ./input ./lock meillo@6: meillo@6: test.conf: conf.templ meillo@46: # fails if the current path contains `^'. meillo@46: sed "s/SMTP_HOST/`hostname`/; s^PWD^`pwd`^" conf.templ > test.conf meillo@6: meillo@6: local.sh: test.templ meillo@6: sed s/RECV_HOST/localhost/ test.templ > local.sh meillo@6: chmod ugo+x local.sh meillo@6: meillo@6: smtpout.sh: test.templ meillo@6: sed s/RECV_HOST/`hostname`/ test.templ > smtpout.sh meillo@6: chmod ugo+x smtpout.sh meillo@6: meillo@6: clean: meillo@6: rm -f test.conf local.sh smtpout.sh meillo@46: rm -rf ./input ./lock