summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-11-18 01:21:27 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-11-18 01:21:27 -0500
commitc4f6d3489ef91c539ba88e372635e4d0d87e6ad2 (patch)
treefbfc8755e3ba011e789723e4407b908b39bd5aad /Makefile
parente339617040bde6ef57f4ccc896f9feba60dbe12f (diff)
Check crt.sh against actual used certs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile21
1 files changed, 15 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 15d69da..157fd34 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,22 @@
-all: certs.html
+all: index.html
-pem2html: %: %.go
+index.html: crtsh.html
+ cp $< $@
+
+%: %.go
go build $<
-certs.pem: getcerts domains.txt NET-crt.sh
- ./getcerts $$(cat domains.txt) > $@
+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-servers.txt NET-tls
+ ./tls-getcerts $$(cat config-servers.txt) > $@
-certs.html: %.html: %.pem pem2html
- ./pem2html < $< > $@
+diff.txt: diff tls.pem crtsh.pem
+ ./diff tls.pem crtsh.pem > $@
NET-%:
date > $@