X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=Makefile;h=bf1b2e7b490b1da992c8ae6f4a87a75f6d4435ba;hb=afaae84a7a56bcbb69cb772d9ea29766ad0a2aa6;hp=13e5299a38658208c5e143394159bd518a3fafc0;hpb=81f65ce33931831dc651c5d3ebf2b31b551b6b8b;p=jquery.git diff --git a/Makefile b/Makefile index 13e5299..bf1b2e7 100644 --- a/Makefile +++ b/Makefile @@ -5,9 +5,10 @@ PREFIX = . DIST_DIR = ${PREFIX}/dist BASE_FILES = ${SRC_DIR}/core.js\ + ${SRC_DIR}/support.js\ ${SRC_DIR}/data.js\ + ${SRC_DIR}/queue.js\ ${SRC_DIR}/event.js\ - ${SRC_DIR}/support.js\ ${SRC_DIR}/selector.js\ ${SRC_DIR}/traversing.js\ ${SRC_DIR}/attributes.js\ @@ -40,8 +41,10 @@ ${DIST_DIR}: init: @@echo "Grabbing external dependencies..." - @@git submodule init - @@git submodule update + @@if test ! -d test/qunit; then git clone git://github.com/jquery/qunit.git test/qunit; fi + @@if test ! -d src/sizzle; then git clone git://github.com/jeresig/sizzle.git src/sizzle; fi + @@cd src/sizzle && git pull origin master &> /dev/null + @@cd test/qunit && git pull origin master &> /dev/null jquery: ${DIST_DIR} selector ${JQ} @@ -54,9 +57,6 @@ ${JQ}: ${MODULES} sed 's/Date:./&'"${DATE}"'/' | \ ${VER} > ${JQ}; - @@echo ${JQ} "Built" - @@echo - selector: init @@echo "Building selector code from Sizzle" @@sed '/EXPOSE/r src/sizzle-jquery.js' src/sizzle/sizzle.js > src/selector.js @@ -66,15 +66,14 @@ min: ${JQ_MIN} ${JQ_MIN}: ${JQ} @@echo "Building" ${JQ_MIN} - @@echo " - Compressing using Minifier" @@${MINJAR} ${JQ} > ${JQ_MIN} - @@echo ${JQ_MIN} "Built" - @@echo - clean: @@echo "Removing Distribution directory:" ${DIST_DIR} @@rm -rf ${DIST_DIR} @@echo "Removing built copy of Sizzle" @@rm src/selector.js + + @@echo "Removing cloned directories" + @@rm -rf test/qunit src/sizzle