Просмотр исходного кода

add a `git-submodule` make target.

skullY 8 лет назад
Родитель
Сommit
ed56a6859f
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      Makefile

+ 4 - 0
Makefile

@@ -551,6 +551,10 @@ test: test-all
 .PHONY: test-clean
 test-clean: test-all-clean
 
+git-submodule:
+	git submodule sync --recursive
+	git submodule update --init --recursive
+
 ifdef SKIP_VERSION
 SKIP_GIT := yes
 endif