summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-11-19 18:21:50 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-11-19 18:21:50 -0500
commit6895534e0d59eae1b66a080dd390be7ee9c7db0b (patch)
treea86d2584f25796c372653589ffc47010bff8bde2 /Makefile
parent0ee58619c74a8ab086a8ebc9b74bb21de2df25a1 (diff)
separate diff logic from templating
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index d4ee17b..e3d6c36 100644
--- a/Makefile
+++ b/Makefile
@@ -9,18 +9,15 @@ all: diff.html
crtsh.pem: crtsh-getcerts config-domains.txt NET-crtsh
./crtsh-getcerts $$(cat config-domains.txt) > $@
-crtsh.html: %.html: %.pem crtsh-pem2html
- ./crtsh-pem2html < $< > $@
-
tls.pem: tls-getcerts config-sockets.txt NET-tls
./tls-getcerts $$(cat config-sockets.txt) > $@
-tls.html: %.html: %.pem tls-pem2html
- ./tls-pem2html < $< > $@
-
-diff.html: diff tls.pem crtsh.pem
+diff.pem: diff tls.pem crtsh.pem
./diff tls.pem crtsh.pem > $@
+tls.html crtsh.html diff.html: %.html: %.pem %-pem2html
+ ./$*-pem2html < $< > $@
+
NET-%:
date > $@