summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0978df5..a36830b 100644
--- a/Makefile
+++ b/Makefile
@@ -24,6 +24,10 @@ V_CSS = $(v_css_$(V))
v_css_ = $(v_css_$(DEFAULT_VERBOSITY))
v_css_0 = @echo " CSS " $@;
+V_SED = $(v_sed_$(V))
+v_sed_ = $(v_sed_$(DEFAULT_VERBOSITY))
+v_sed_0 = @echo " SED " $@;
+
.PHONY: all
all: $(pages_gen) checkmark.png style/style.min.css
@@ -33,8 +37,11 @@ all: $(pages_gen) checkmark.png style/style.min.css
%$(suffix): %.xml %.xsl $(common_depend)
$(V_XSLT) $(xsltproc) $< > $@
+ $(V_SED) sed -i 's/ SYSTEM "about:legacy-compat"//' $@
+
%$(suffix): %.xml $(common_depend)
$(V_XSLT) $(xsltproc) $< > $@
+ $(V_SED) sed -i 's/ SYSTEM "about:legacy-compat"//' $@
style/style.min.css: style/style.css
$(V_CSS) node_modules/.bin/postcss -u postcss-css-variables style/style.css | node_modules/.bin/cleancss > style/style.min.css