diff options
author | Benjamin Franzke <benjaminfranzke@gmail.com> | 2017-07-22 09:12:50 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@gmail.com> | 2017-07-22 10:25:41 +0200 |
commit | 0f26c526c53de093398d66a421eee7afee901e64 (patch) | |
tree | 0b97b165ed245dac8523e1b995b3c142f3c6914d /Makefile | |
parent | ee6e5898b4a55f562093f456088b362a27a396e6 (diff) | |
download | mutti-web-0f26c526c53de093398d66a421eee7afee901e64.tar.gz mutti-web-0f26c526c53de093398d66a421eee7afee901e64.tar.bz2 mutti-web-0f26c526c53de093398d66a421eee7afee901e64.zip |
chomp unix line ending from output xhtml/html files
save's one byte
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -51,16 +51,16 @@ html: $(pages_gen_html) $(V_GEN) $(svg2png) $< > $@ %$(suffix): %.xml %.xsl $(common_depend) - $(V_XSLT) $(xsltproc) --stringparam suffix $(link_suffix) $< | $(fix_doctype) > $@ + $(V_XSLT) $(xsltproc) --stringparam suffix $(link_suffix) $< | $(fix_doctype) | perl -pe 'chomp if eof' > $@ %$(suffix): %.xml $(common_depend) - $(V_XSLT) $(xsltproc) --stringparam suffix $(link_suffix) $< | $(fix_doctype) > $@ + $(V_XSLT) $(xsltproc) --stringparam suffix $(link_suffix) $< | $(fix_doctype) | perl -pe 'chomp if eof' > $@ %.html: %.xml %.xsl $(common_depend) - $(V_XSLT) $(xsltproc) --stringparam suffix .html $< | $(to_html) | $(html_minify) > $@ + $(V_XSLT) $(xsltproc) --stringparam suffix .html $< | $(to_html) | $(html_minify) | perl -pe 'chomp if eof' > $@ %.html: %.xml $(common_depend) - $(V_XSLT) $(xsltproc) --stringparam suffix .html $< | $(to_html) | $(html_minify) > $@ + $(V_XSLT) $(xsltproc) --stringparam suffix .html $< | $(to_html) | $(html_minify) | perl -pe 'chomp if eof' > $@ style.min.css: style.css font.css $(V_CSS) node_modules/.bin/postcss -u postcss-import -u postcss-css-variables style.css | node_modules/.bin/cleancss > style.min.css |