X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=Makefile;h=e9da1449c7550ce3dba565e000f56b312219a556;hb=d605b8ee5667e4c26cf9c89f743e681938139162;hp=2ab385bee127362c5b95d80d521e1d88581193e8;hpb=a8b089a02089d3d7b7e0744e59618ff9800e760a;p=jquery.git diff --git a/Makefile b/Makefile index 2ab385b..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 - @@cd test/qunit && git pull - @@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}