mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-23 22:40:38 +01:00
projects-dir.mk: Add target update
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
30412d288d
commit
1d5669e1a5
1 changed files with 8 additions and 1 deletions
|
|
@ -1,3 +1,5 @@
|
||||||
|
CVS_DIRS = $(dir $(wildcard */CVS))
|
||||||
|
|
||||||
WHOAMI = $(shell id -un)
|
WHOAMI = $(shell id -un)
|
||||||
RGIT = /bin/bash $(firstword $(wildcard ./ytools/devutil/scripts/pgit.sh /opt/ytools/bin/pgit.sh))
|
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 ;\
|
while read f; do d=`dirname $$f`; if [ $$d/generate_code.sh ]; then echo $$f; fi ;\
|
||||||
done
|
done
|
||||||
|
|
||||||
clone pull diff commit push:
|
clone diff commit push:
|
||||||
$(RGIT) $@
|
$(RGIT) $@
|
||||||
|
|
||||||
|
update pull:
|
||||||
|
cvs update -dP $(CVS_DIRS)
|
||||||
|
$(RGIT) pull
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue