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@423: mkdir -p spool 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@354: echo "resolve_list = byname" >>$@ meillo@63: meillo@63: clean: meillo@63: rm -f test.conf test test.route meillo@63: meillo@63: realclean: clean meillo@423: rm -rf spool meillo@63: rm -f *.log