summaryrefslogtreecommitdiff
path: root/Makefile
blob: d175cc328064d8978a061db2686d156b57ba5b54 (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
29
30
all: index.html style.css jarmon-style/jquerytools.tabs.tabs-no-images.css jarmon-style/style.css

%: %.go util $(wildcard util/*.go)
	go build $<

index.html: tls.html.part crtsh.html.part diff.html.part jarmon.html.part

crtsh.pem: crtsh-getcerts config-domains.txt NET-crtsh
	./crtsh-getcerts $$(sed 's/#.*//' config-domains.txt) > $@

tls.pem: tls-getcerts config-sockets.txt NET-tls
	./tls-getcerts $$(sed 's/#.*//' config-sockets.txt) > $@

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

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

%: %.gen
	./$< $(filter-out $<,$^) > $@

%.css: %.scss
	scss $< $@

NET-%:
	date > $@

.DELETE_ON_ERROR:
.SECONDARY: