meillo@63: # Makefile by markus schnalke meillo@63: # heavily based on Makefile.am written by oliver kurth meillo@63: meillo@63: all: test test.conf test.route meillo@63: mkdir -p ./input ./lock meillo@63: meillo@63: test.conf: test.conf.tpl meillo@63: # fails if the current path contains `^'. meillo@63: sed "s^PWD^`pwd`^" $< >$@ meillo@63: meillo@63: test: test.tpl meillo@63: sed s/RECV_HOST/`hostname`/ $< >$@ meillo@63: chmod +x $@ meillo@63: meillo@63: test.route: meillo@63: echo mail_host=\"`hostname`\" >$@ meillo@63: meillo@63: clean: meillo@63: rm -f test.conf test test.route meillo@63: meillo@63: realclean: clean meillo@63: rm -rf ./input ./lock meillo@63: rm -f *.log