summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..432518b
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,16 @@
+all: certs.html
+
+pem2html: %: %.go
+ go build $<
+
+certs.pem: getcerts domains.txt NET-crt.sh
+ ./getcerts $$(cat domains.txt) > $@
+
+certs.html: %.html: %.pem pem2html
+ ./pem2html < $< > $@
+
+NET-%:
+ touch $@
+
+.DELETE_ON_ERROR:
+.SECONDARY: