projects-dir.mk: Add target update

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2013-12-11 19:13:33 +00:00
commit 1d5669e1a5

View file

@ -1,3 +1,5 @@
CVS_DIRS = $(dir $(wildcard */CVS))
WHOAMI = $(shell id -un)
RGIT = /bin/bash $(firstword $(wildcard ./ytools/devutil/scripts/pgit.sh /opt/ytools/bin/pgit.sh))
@ -11,5 +13,10 @@ cpp:
while read f; do d=`dirname $$f`; if [ $$d/generate_code.sh ]; then echo $$f; fi ;\
done
clone pull diff commit push:
clone diff commit push:
$(RGIT) $@
update pull:
cvs update -dP $(CVS_DIRS)
$(RGIT) pull