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