X-Git-Url: http://git.asbjorn.biz/?p=jquery.git;a=blobdiff_plain;f=Makefile;h=e9da1449c7550ce3dba565e000f56b312219a556;hp=035b1e112a5e94e368b447a4c1dc2a563b66f32b;hb=d605b8ee5667e4c26cf9c89f743e681938139162;hpb=6798df54f40b316ce65c4e44e3c0370356956dd7 diff --git a/Makefile b/Makefile index 035b1e1..e9da144 100644 --- a/Makefile +++ b/Makefile @@ -40,10 +40,10 @@ ${DIST_DIR}: init: @@echo "Grabbing external dependencies..." - @@git clone git://github.com/jquery/qunit.git test/qunit - @@git clone git://github.com/jeresig/sizzle.git src/sizzle - @@cd src/sizzle && git pull origin master - @@cd test/qunit && git pull origin master + @@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}