From: Wolfram Schneider Date: Tue, 10 Dec 2013 09:55:44 +0000 (+0000) Subject: log the pz2.js GIT id in the header of mkws-complete.js as well X-Git-Tag: 0.9.1~93 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=5a90014b8a9c5efe7332b6d231972572d2e09072 log the pz2.js GIT id in the header of mkws-complete.js as well --- 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