From 55d82f47ac139f5ce1e2842e0506aa152ea5e6e9 Mon Sep 17 00:00:00 2001 From: eddiemonge Date: Wed, 13 Apr 2011 11:01:25 -0700 Subject: [PATCH] makefile reads jquery core version from the file --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 659bb469..31caf008 100755 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ SED_VER = sed "s/@VERSION/${VER}/" nightly: SED_VER = sed "s/@VERSION/Nightly-${DATE}/" # The version of jQuery core used -JQUERY = 1.5.2 +JQUERY = $(shell grep Library js/jquery.js | sed s'/ \* jQuery JavaScript Library v//') # The directory to create the zipped files in and also serves as the filenames DIR = jquery.mobile-${VER} @@ -164,7 +164,6 @@ nightly: pull zip @@scp -r ${OUTPUT} jqadmin@code.origin.jquery.com:/var/www/html/code.jquery.com/mobile/${NIGHTLY_OUTPUT} @@rm -rf ${OUTPUT} - # Used by the jQuery team to deploy a build to the CDN deploy: zip # Deploy to CDN