summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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 > $@