diff options
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |