summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile8
1 files 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