cake
/
p7utils
Archived
1
0
Fork 0

Corrected target so it doesn't depend on --all

This commit is contained in:
Thomas Touhey 2017-01-04 17:24:43 +01:00
parent 4324d88cd9
commit 16e75c5d1a
1 changed files with 3 additions and 2 deletions

View File

@ -52,8 +52,9 @@ dist: mrproper $(if $(ISGIT),reinit-gitmodules)
#******************************************************************************#
# Main rule.
reinit-gitmodules:
@git submodule deinit -f --all
@git submodule update --init --recursive
$(call qcmd,git submodule deinit -- \
$(shell grep path .gitmodules | sed 's/.*= //'))
$(call qcmd,git submodule update --init --recursive)
# Initialize one module
ifeq ($(ISGIT),y)