Makefile added with Version 1.7
This commit is contained in:
parent
48d1705e75
commit
5de4d8e3be
8
Makefile
8
Makefile
@ -1,4 +1,4 @@
|
|||||||
# git helper Makefile: Version 1.6 (2025-08-05)
|
# git helper Makefile: Version 1.7 (2025-08-05)
|
||||||
default: help
|
default: help
|
||||||
|
|
||||||
.ONESHELL:
|
.ONESHELL:
|
||||||
@ -49,15 +49,15 @@ init: print_head
|
|||||||
$(MAKE) localinit
|
$(MAKE) localinit
|
||||||
|
|
||||||
update_submodules:
|
update_submodules:
|
||||||
git submodule foreach "git checkout master && git pull && git submodule init && git submodule update"
|
git submodule foreach "git fetch && git checkout master && git pull && git submodule init && git submodule update"
|
||||||
|
|
||||||
giti_sub: print_head
|
giti_this: print_head
|
||||||
giti
|
giti
|
||||||
echo " Submodules:"
|
echo " Submodules:"
|
||||||
git submodule --quiet foreach "echo -n ' ' && giti"
|
git submodule --quiet foreach "echo -n ' ' && giti"
|
||||||
|
|
||||||
giti:
|
giti:
|
||||||
git submodule --quiet foreach make --no-print-directory giti_sub
|
git submodule --quiet foreach [ -e Makefile ] || make --no-print-directory giti_this
|
||||||
|
|
||||||
localclean:
|
localclean:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user