makefile reads jquery core version from the file

This commit is contained in:
eddiemonge 2011-04-13 11:01:25 -07:00
parent a65ac5f268
commit 55d82f47ac

View file

@ -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