New things for a mail redirection service, with randomized local parts.
[odin-cgi] / Makefile
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..0b95944
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
+### -*-makefile-*-
+
+all::
+
+TARGETS += exim-filter
+exim-filter: exim-filter.in passwds Makefile
+       set -e; . ./passwds; umask 077; \
+               sed "s;@PASSWORD@;$$exim_db_passwd;g" $< >$@.new; \
+               mv $@.new $@
+
+CLEAN += $(TARGETS)
+all:: $(TARGETS)
+clean::; rm -f $(CLEAN)