From: Wolfram Schneider Date: Thu, 11 Jul 2013 14:33:32 +0000 (+0000) Subject: configurable jquery URL, part of MKWS-24 X-Git-Tag: 0.9.1~253 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=1077f0ddf5f11391fa7138e860267165fb1f5ca1 configurable jquery URL, part of MKWS-24 e.g.: make JQUERY_URL=http://code.jquery.com/jquery-2.0.3.min.js clean mkws-js --- diff --git a/tools/htdocs/Makefile b/tools/htdocs/Makefile index 9b45066..ede5186 100644 --- a/tools/htdocs/Makefile +++ b/tools/htdocs/Makefile @@ -2,13 +2,16 @@ # Copyright (c) 2013 IndexData ApS. http://indexdata.com # +#JQUERY_URL= http://code.jquery.com/jquery-2.0.3.min.js +JQUERY_URL= http://code.jquery.com/jquery-1.10.0.min.js + MKWS_JS= mkws-complete.js all: ${MKWS_JS} README.html mkws-js ${MKWS_JS}: ../../../libjs-pz2/pz2api.1.js mkws.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; \ + curl -sSf ${JQUERY_URL}; \ cat ../../../libjs-pz2/pz2api.1.js mkws.js ) > ${MKWS_JS}.new mv -f ${MKWS_JS}.new ${MKWS_JS} @@ -19,6 +22,8 @@ clean: help: @echo "make [ help | mkws-js | clean ]" @echo "" + @echo "make JQUERY_URL=http://code.jquery.com/jquery-2.0.3.min.js clean mkws-js" + @echo "" @echo "Please check ./README file too!"