all: index.html
index.html: crtsh.html
cp $< $@
%: %.go
go build $<
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) > $@
diff.txt: diff tls.pem crtsh.pem
./diff tls.pem crtsh.pem > $@
NET-%:
date > $@
.DELETE_ON_ERROR:
.SECONDARY: