X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=Makefile;h=e9da1449c7550ce3dba565e000f56b312219a556;hb=d605b8ee5667e4c26cf9c89f743e681938139162;hp=1ebc643d862a53e1959b485dbada6713f04b4cf4;hpb=1ce92e022ddd6f547515e855544ba3c2fb1416e0;p=jquery.git diff --git a/Makefile b/Makefile index 1ebc643..e9da144 100644 --- a/Makefile +++ b/Makefile @@ -40,11 +40,10 @@ ${DIST_DIR}: init: @@echo "Grabbing external dependencies..." - @@git submodule init - @@git submodule update - @@cd src/sizzle && git pull origin master - @@cd test/qunit && git pull origin master - @@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}