X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=blobdiff_plain;f=tools%2Fhtdocs%2FMakefile;h=bcb753d2ec1d485160726ad780d4b53f317b53d4;hp=81b8af3dd15d7614005a27588b0e07b5a43fd993;hb=2681321da7a6c02655b92fc46832c5d80f90e6c1;hpb=429fc950d86e78aed8de8896094834f8d2a18ab3 diff --git a/tools/htdocs/Makefile b/tools/htdocs/Makefile index 81b8af3..bcb753d 100644 --- a/tools/htdocs/Makefile +++ b/tools/htdocs/Makefile @@ -10,13 +10,11 @@ JQUERY_URL= http://code.jquery.com/jquery-1.10.0.min.js #JQUERY_URL= http://code.jquery.com/jquery-1.9.1.min.js #JQUERY_URL= http://code.jquery.com/jquery-1.8.3.min.js #JQUERY_URL= http://code.jquery.com/jquery-1.7.2.min.js -#JQUERY_URL= http://code.jquery.com/jquery-1.6.4.min.js -#JQUERY_URL= http://code.jquery.com/jquery-1.4.4.min.js JQUERY_UI_URL= http://code.jquery.com/ui/1.10.3/jquery-ui.js #JQUERY_UI_URL= http://code.jquery.com/ui/1.8.0/jquery-ui.min.js JQUERY_JSON_URL= https://jquery-json.googlecode.com/files/jquery.json-2.4.js -HANDLEBARS_URL= http://builds.handlebarsjs.com.s3.amazonaws.com/handlebars-v1.1.2.js -o $@ +HANDLEBARS_URL= http://builds.handlebarsjs.com.s3.amazonaws.com/handlebars-v1.1.2.js PP2_URL= http://git.indexdata.com/?p=pazpar2.git;a=blob_plain;f=js/pz2.js;hb=HEAD VERSION = $(shell tr -d '\012' < VERSION) @@ -71,10 +69,12 @@ ${JQUERY_FILE}: rm -f $@.new ${JQUERY_JSON_FILE}: - curl -sSf ${JQUERY_JSON_URL} -o $@ + curl -sSf ${JQUERY_JSON_URL} -o $@.tmp + mv -f $@.tmp $@ ${HANDLEBARS_FILE}: - curl -sSf ${HANDLEBARS_URL} -o $@ + curl -sSf ${HANDLEBARS_URL} -o $@.tmp + mv -f $@.tmp $@ ${PP2_FILE}: curl -sSf "${PP2_URL}" -o $@.tmp