From 0b8abd0e56be5b3aadc2d2175bb5c459c95f908e Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Wed, 8 Jan 2014 13:04:26 +0000 Subject: [PATCH] new target mkws-complete-syntax-check --- tools/htdocs/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/htdocs/Makefile b/tools/htdocs/Makefile index 3099c24..846e3e2 100644 --- a/tools/htdocs/Makefile +++ b/tools/htdocs/Makefile @@ -53,7 +53,7 @@ mkws-js ${MKWS_JS}: Makefile mkws.js ${JQUERY_FILE} ${JQUERY_JSON_FILE} ${HANDLE echo ""; \ exit 1; \ fi - ( echo "/*! Copyright (c) 2013 IndexData ApS. http://indexdata.com"; \ + ( echo "/*! Copyright (c) 2013-2014 IndexData ApS. http://indexdata.com"; \ echo " created at: $$(date)"; \ echo " mkws.js GIT id: $$(git log mkws.js | head -n 1 | perl -npe 's,\S+\s+,,')"; \ echo " $$(basename ${PZ2API_JS}) GIT id: $$(cd $$(dirname ${PZ2API_JS}) && git log $$(basename ${PZ2API_JS}) | head -n 1 | perl -npe 's,\S+\s+,,')"; \ @@ -75,6 +75,8 @@ mkws-js-min: mkws.min.js mkws-complete.min.js mkws-syntax-check: yui-compressor mkws.js >/dev/null +mkws-complete-syntax-check: mkws-js-min + ${JQUERY_FILE}: curl -sSf ${JQUERY_URL} -o $@.new perl -npe 's,sourceMappingURL=jquery.*map,,' $@.new > $@ @@ -135,7 +137,7 @@ clean: help: @echo "make [ help | docs | clean ]" @echo " [ mkws-js | mkws-js-min ]" - @echo " [ mkws-syntax-check ]" + @echo " [ mkws-syntax-check | mkws-complete-syntax-check ]" @echo "" @echo "make JQUERY_URL=http://code.jquery.com/jquery-2.0.3.min.js clean mkws-js" @echo "" -- 1.7.10.4