From 2e69119fcad91a2aa3a32ee2f01f2ab15768f322 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Fri, 4 Jul 2014 11:57:36 +0200 Subject: [PATCH] always use .tmp extension for temporary files generated by make. We used a mix of .tmp and .new, which is kinda confusing. --- tools/htdocs/Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tools/htdocs/Makefile b/tools/htdocs/Makefile index 7aedddb..388a4b8 100644 --- a/tools/htdocs/Makefile +++ b/tools/htdocs/Makefile @@ -43,12 +43,12 @@ mkws-js mkws-complete.js: Makefile mkws.js ${SRC}/mkws-jquery.js ${HANDLEBARS_FI cat ${PP2_FILE}; \ cat mkws.js; \ cat ${SRC}/mkws-jquery.js; \ - ) > mkws-complete.js.new - mv -f mkws-complete.js.new mkws-complete.js + ) > mkws-complete.js.tmp + mv -f mkws-complete.js.tmp mkws-complete.js %.min.js: %.js - yui-compressor $? > $@.new - mv -f $@.new $@ + yui-compressor $? > $@.tmp + mv -f $@.tmp $@ mkws-syntax-check: yui-compressor mkws.js >/dev/null @@ -58,9 +58,9 @@ ${HANDLEBARS_FILE}: mv -f $@.tmp $@ ${JQUERY_FILE}: - curl -sSf ${JQUERY_URL} -o $@.new - perl -npe 's,sourceMappingURL=jquery.*map,,' $@.new > $@ - rm -f $@.new + curl -sSf ${JQUERY_URL} -o $@.tmp + perl -npe 's,sourceMappingURL=jquery.*map,,' $@.tmp > $@ + rm -f $@.tmp ${JQUERY_JSON_FILE}: curl -sSf ${JQUERY_JSON_URL} -o $@.tmp -- 1.7.10.4