blob: 23b1c42d09b6eb3409a590b05440d23fd24194c1 (
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
|
include ../config.mk
SETTINGS=../$(LIBDIR)/settings.html
KEYS=../$(LIBDIR)/keys.html
TLDS=../$(SRCDIR)/tlds.h
OUTFILES=$(SETTINGS) $(KEYS) $(TLDS)
all: $(OUTFILES)
$(KEYS): keys.in
@echo gen keys.html
@awk -f generate_keys.awk $< > $@
$(SETTINGS): settings.in
@echo gen settings.html
@awk -f generate_settings.awk $< > $@
settings.in: settings.pre
@$(shell if pkg-config --exists 'libsoup-2.4 >= 2.38'; then \
sed 's/^SSL_CERTIFICATION/ssl-use-system-ca-file checkbox Whether to use the system certification file/' $< > $@;\
else sed 's/^SSL_CERTIFICATION/ssl-ca-file text Path to ssl-certificate/;/^addressbar-dns-lookup/d' $< > $@; fi)
clean:
$(RM) $(OUTFILES)
.PHONY: clean
|