From: Mike Taylor Date: Wed, 23 Jul 2014 14:35:36 +0000 (+0100) Subject: Tweak "mkws-html-includes" rule to omit NUL characters. X-Git-Tag: 1.0.0~371^2~7 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=cc00f9aa9c877502e958da73f23ce51cbdf9420a;p=mkws-moved-to-github.git Tweak "mkws-html-includes" rule to omit NUL characters. --- diff --git a/tools/htdocs/Makefile b/tools/htdocs/Makefile index f0a7291..420bb49 100644 --- a/tools/htdocs/Makefile +++ b/tools/htdocs/Makefile @@ -97,7 +97,7 @@ mkws.js: $(COMPONENTS) Makefile mkws-html-includes: echo $(COMPONENTS) | perl -npe "s,${SRC},,g; s/\s+/\0/g" | \ - perl -n0e 'print qq{ \n}' + perl -n0e 'chomp(); print qq{ \n}' distclean: clean @echo "(No need for distclean, 'make clean' is fine)"