Do not watch the dist files to make infinite change loops less common.
[jquery.git] / Makefile
blobf33a61c1aaf3bb450df8ecaedb4a320867636316
2 all: update_submodules
4 submoduleclean: clean
5 @@echo "Removing submodules"
6 @@rm -rf test/qunit src/sizzle
8 # change pointers for submodules and update them to what is specified in jQuery
9 # --merge doesn't work when doing an initial clone, thus test if we have non-existing
10 # submodules, then do an real update
11 update_submodules:
12 @@if [ -d .git ]; then \
13 if git submodule status | grep -q -E '^-'; then \
14 git submodule update --init --recursive; \
15 else \
16 git submodule update --init --recursive --merge; \
17 fi; \
18 fi;
20 # update the submodules to the latest at the most logical branch
21 pull_submodules:
22 @@git submodule foreach "git pull \$$(git config remote.origin.url)"
23 #@@git submodule summary
25 .PHONY: all submoduleclean update_submodules pull_submodules