projects-dir.mk: Now automatically fetching targets before all target

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2016-02-24 19:38:07 +00:00
commit eb6914d008

View file

@ -27,10 +27,11 @@ EXCLUDE_FROM_BUILD = \
feedfs-qt \
jux3
all: links.done
all: links.done clone.done cvs-update.done
all clean: config.done
python ./ytools/devutil/scripts/build.py -b $(shell pwd) $@ $(filter-out $(EXCLUDE_FROM_BUILD),$(PROJECTS))
rm -f *.done
clean-dirs:
ls */dirs-all.done 2>/dev/null | sed 's%/.*%%' | xargs -r build.py -b $(shell pwd) clean
@ -49,8 +50,10 @@ git-push:
git-diff:
$(PGIT) diff
update pull:
cvs-update:
cvs update -dP $(CVS_PROJECTS)
update pull: cvs-update
$(PGIT) pull
git-pull:
@ -87,3 +90,7 @@ links.done:
ln -s dspc/src/shared dspider-shared
touch $@
%.done: %
touch $@