projects-dir.mk: Add target sync-all

sync-all does pull all and push --all --recurse-submodules=on-demand

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2018-09-27 13:56:43 +00:00
commit 14eec3069b

View file

@ -201,6 +201,8 @@ update pull: purge cvs-update git-clone
sync: pull push
sync-all: pull-all push-all
sync-%:
ssh $* make -C $(shell pwd) sync
@ -230,7 +232,7 @@ git-push push: $(SSH_WRAPPER_SH)
$(PGIT) push
git-push-all: $(SSH_WRAPPER_SH)
$(PGIT) push --all
$(PGIT) push --all --recurse-submodules=on-demand
git-diff: $(SSH_WRAPPER_SH)
$(PGIT) diff