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

Revert "Remove the "lib/%" rule."

This reverts commit 6fc43ddaf6048edc67c00ea258ffbbcbded631b0.

I didn't think this through before pushing it.
skullY 7 лет назад
Родитель
Сommit
927ef81363
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      Makefile

+ 4 - 0
Makefile

@@ -554,6 +554,10 @@ test: test-all
 .PHONY: test-clean
 .PHONY: test-clean
 test-clean: test-all-clean
 test-clean: test-all-clean
 
 
+lib/%:
+	git submodule sync $?
+	git submodule update --init $?
+
 git-submodule:
 git-submodule:
 	git submodule sync --recursive
 	git submodule sync --recursive
 	git submodule update --init --recursive
 	git submodule update --init --recursive