summaryrefslogtreecommitdiff
path: root/Makefile
blob: d4ee17ba9cb46c629fe4c12df60fe2ee4234d951 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
all: index.html
all: crtsh.html
all: tls.html
all: diff.html

%: %.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-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 tls.pem crtsh.pem > $@

NET-%:
	date > $@

.DELETE_ON_ERROR:
.SECONDARY: