summaryrefslogtreecommitdiff
path: root/Makefile
blob: e3d6c36b8fdff31df41de43f8d8e46b883918f5a (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
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) > $@

tls.pem: tls-getcerts config-sockets.txt NET-tls
	./tls-getcerts $$(cat config-sockets.txt) > $@

diff.pem: diff tls.pem crtsh.pem
	./diff tls.pem crtsh.pem > $@

tls.html crtsh.html diff.html: %.html: %.pem %-pem2html
	./$*-pem2html < $< > $@

NET-%:
	date > $@

.DELETE_ON_ERROR:
.SECONDARY: