From 0f26c526c53de093398d66a421eee7afee901e64 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Sat, 22 Jul 2017 09:12:50 +0200 Subject: chomp unix line ending from output xhtml/html files save's one byte --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 9c344ba..cb23a87 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit