summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-11-21 15:03:07 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-11-21 15:03:07 -0500
commit0b05009ec37a798dd3b2e48c1240064669ba8b25 (patch)
treec0d4e452944b607d18d6872eb12937efc1641e4d /Makefile
parent41843133f95e7ca7ec45c40b88c06e35fd7d901e (diff)
unify html
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index e3d6c36..dcf87dd 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,10 @@
-all: index.html
-all: crtsh.html
-all: tls.html
-all: diff.html
+all: index.html style.css
%: %.go
go build $<
+index.html: tls.html.part crtsh.html.part diff.html.part
+
crtsh.pem: crtsh-getcerts config-domains.txt NET-crtsh
./crtsh-getcerts $$(cat config-domains.txt) > $@
@@ -15,9 +14,15 @@ tls.pem: tls-getcerts config-sockets.txt NET-tls
diff.pem: diff tls.pem crtsh.pem
./diff tls.pem crtsh.pem > $@
-tls.html crtsh.html diff.html: %.html: %.pem %-pem2html
+%.html.part: %.pem %-pem2html
./$*-pem2html < $< > $@
+%: %.gen
+ ./$< $(filter-out $<,$^) > $@
+
+%.css: %.scss
+ scss $< $@
+
NET-%:
date > $@