diff tests/Makefile @ 6:c9bce6bb2a5d

switched tests dir to ordinary Makefile
author meillo@marmaro.de
date Fri, 26 Sep 2008 22:55:52 +0200
parents
children 3cb6f383f07e
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/Makefile	Fri Sep 26 22:55:52 2008 +0200
@@ -0,0 +1,19 @@
+# Makefile by markus schnalke <meillo@marmaro.de>
+# heavily based on Makefile.am written by oliver kurth
+
+all: test.conf local.sh smtpout.sh
+
+
+test.conf: conf.templ
+	sed s/SMTP_HOST/`hostname`/ conf.templ > test.conf
+
+local.sh: test.templ
+	sed s/RECV_HOST/localhost/ test.templ > local.sh
+	chmod ugo+x local.sh
+
+smtpout.sh: test.templ
+	sed s/RECV_HOST/`hostname`/ test.templ > smtpout.sh
+	chmod ugo+x smtpout.sh
+
+clean:
+	rm -f test.conf local.sh smtpout.sh