diff tests/Makefile @ 7:969bc91ff13b

removed docs from Makefiles; stuff about last commit
author meillo@marmaro.de
date Mon, 27 Oct 2008 14:51:31 +0100
parents
children 3cb6f383f07e
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/Makefile	Mon Oct 27 14:51:31 2008 +0100
@@ -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