mdw-test/: Include some random utilities I've found handy for testing.
[secnet] / mdw-test / Makefile
diff --git a/mdw-test/Makefile b/mdw-test/Makefile
new file mode 100644 (file)
index 0000000..b809cad
--- /dev/null
@@ -0,0 +1,15 @@
+### -*-makefile-*-
+
+all::
+
+TARGETS += sites.conf
+sites.conf: sites ../make-secnet-sites
+       ../make-secnet-sites sites >$@.new && mv $@.new $@
+
+TARGETS += alice.priv bob.priv
+alice.priv bob.priv: %.priv: keyring mk-sshv1-rsapriv
+       ./mk-sshv1-rsapriv keyring $* $@
+
+all:: $(TARGETS)
+clean::; rm -f $(TARGETS)
+.PHONY: all clean