From 5a90014b8a9c5efe7332b6d231972572d2e09072 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Tue, 10 Dec 2013 09:55:44 +0000 Subject: [PATCH] log the pz2.js GIT id in the header of mkws-complete.js as well --- tools/htdocs/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/htdocs/Makefile b/tools/htdocs/Makefile index 428f940..e0a5498 100644 --- a/tools/htdocs/Makefile +++ b/tools/htdocs/Makefile @@ -46,7 +46,9 @@ mkws-js ${MKWS_JS}: mkws.js handlebars-v1.1.2.js exit 1; \ fi ( echo "/* created at: $$(date)"; \ - echo " mkws.js GIT id: $$(git log mkws.js | head -n 1 | perl -npe 's,\S+\s+,,') */"; \ + 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+,,')"; \ + echo "*/"; \ curl -sSf ${JQUERY_URL} | perl -npe 's,sourceMappingURL=jquery.*map,,'; \ cat handlebars-v1.1.2.js; \ cat ${PZ2API_JS} mkws.js ) > ${MKWS_JS}.new -- 1.7.10.4