diff --git a/make/projects-dir.mk b/make/projects-dir.mk index b1adb58a..1b588119 100644 --- a/make/projects-dir.mk +++ b/make/projects-dir.mk @@ -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 +