summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-10-10 22:30:10 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-10-10 22:30:10 -0400
commite70b8fb7228f0b90c8c9a095af9b6a82c762eedf (patch)
treead82488c3bfd641474fac8318f0b3eef33a282a1 /Makefile
initial commit
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: