From d3ba650537f0a285f719c01ffcc9224ae3731be9 Mon Sep 17 00:00:00 2001 From: Nicolas Iooss Date: Thu, 12 Dec 2013 22:12:43 +0100 Subject: [PATCH] Fix broken jQuery downloads in Makefile jQuery URLs no longer existed so an update was required. jQuery Color is a plugin which is managed directly by http://code.jquery.com/ Signed-off-by: Nicolas Iooss --- Makefile | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 6a8a175..4f1ccd1 100644 --- a/Makefile +++ b/Makefile @@ -170,6 +170,7 @@ $(MEDAL_THUMBNAILS): $(subst /medals/thumb/,/medals/,$(@F)) ## jquery ## JQUERY_VERSION=1.5.1 +JQUERY_COLOR_VERSION=2.1.2 JQUERY_PLUGINS=color form JQUERY_PLUGINS_PATHES=$(addprefix htdocs/javascript/jquery.,$(addsuffix .js,$(JQUERY_PLUGINS))) @@ -191,7 +192,7 @@ htdocs/javascript/jquery.xorg.js: htdocs/javascript/jquery.js $(JQUERY_PLUGINS_P htdocs/javascript/jquery.ui.xorg.js: $(JQUERY_UI_PATHES) htdocs/javascript/jquery.ui.datepicker-fr.js cat $^ > $@ -htdocs/javascript/jquery-$(JQUERY_VERSION).min.js: DOWNLOAD_SRC = http://jquery.com/src/$(@F) +htdocs/javascript/jquery-$(JQUERY_VERSION).min.js: DOWNLOAD_SRC = http://code.jquery.com/$(@F) htdocs/javascript/jquery-$(JQUERY_VERSION).min.js: @-rm htdocs/javascript/jquery-*.min.js @$(download) @@ -199,9 +200,17 @@ htdocs/javascript/jquery-$(JQUERY_VERSION).min.js: htdocs/javascript/jquery.js: htdocs/javascript/jquery-$(JQUERY_VERSION).min.js ln -snf $(