]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: check for submodules
authorJérémie Astor <fennecdjay@gmail.com>
Sun, 1 May 2022 09:49:01 +0000 (11:49 +0200)
committerJérémie Astor <fennecdjay@gmail.com>
Sun, 1 May 2022 09:49:01 +0000 (11:49 +0200)
Makefile

index b2f29edc37a8684cf3f1c474c1bce8aa39ff2bdd..9fa8b9863d870acf8c82daf40f304b02b8076a4a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,9 @@
 GWION_PACKAGE=gwion
 
+ifeq (,$(wildcard util/config.mk.orig))
+  $(warning "missing git submodules, please run:")
+  $(error "git submodules update --init --recursive")
+endif
 ifeq (,$(wildcard util/config.mk))
 $(shell cp util/config.mk.orig util/config.mk)
 endif