diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2016-07-03 22:01:05 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2016-07-03 22:26:41 +0200 |
commit | b2f92f6011e27de75b38ea5e88f2390cfea2fa78 (patch) | |
tree | 9c3593dcdfd9452a2299f78a35abbf6c6a863081 | |
parent | d64530bb9954dc8907e932edb40bbfb0e16c7e7e (diff) | |
download | mutti-web-b2f92f6011e27de75b38ea5e88f2390cfea2fa78.tar.gz mutti-web-b2f92f6011e27de75b38ea5e88f2390cfea2fa78.tar.bz2 mutti-web-b2f92f6011e27de75b38ea5e88f2390cfea2fa78.zip |
Remove about:legacy-compat from doctype
..to make the html validator happy which warns with
https://validator.w3.org/nu/?doc=https%3A%2F%2Fwww.angelika-franzke.de%2F
Warning: skipping entity: [dtd]
At line 2, column 44
:legacy-compat"><html xmlns="h
-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 |