blob: ae2ab5a17cf9b253e43808fa4d688f1e2a77dcdf (
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
|
include ../config.mk
SETTINGS=../$(LIBDIR)/settings.html
KEYS=../$(LIBDIR)/keys.html
OUTFILES=$(SETTINGS) $(KEYS)
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
|