From 53fc8e4fba8c445fec03068357602302cdae8a7c Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Wed, 3 Jul 2013 12:54:30 +0000 Subject: [PATCH] log date an git ID of mkws.js in mkws-complete.js header --- experiments/spclient/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/experiments/spclient/Makefile b/experiments/spclient/Makefile index 86daeb4..38d83f4 100644 --- a/experiments/spclient/Makefile +++ b/experiments/spclient/Makefile @@ -6,7 +6,9 @@ MKWS_JS= mkws-complete.js all: ${MKWS_JS} mkws-js ${MKWS_JS}: ../../../libjs-pz2/pz2api.1.js mkws.js - ( curl -sSf http://code.jquery.com/jquery-1.10.0.min.js; \ + ( echo "/* created at: $$(date)"; \ + echo " mkws.js GIT id: $$(git log mkws.js | head -n 1 | perl -npe 's,\S+\s+,,') */"; \ + curl -sSf http://code.jquery.com/jquery-1.10.0.min.js; \ cat ../../../libjs-pz2/pz2api.1.js mkws.js ) > ${MKWS_JS}.new mv -f ${MKWS_JS}.new ${MKWS_JS} -- 1.7.10.4