Updated Makefile

This commit is contained in:
Ethan Smith-Coss 2024-06-19 23:38:37 +01:00
parent 8fba3aeed6
commit 82034e3bfc
Signed by: TheOnePath
GPG Key ID: 1D351CCC6D01F32B

View File

@ -114,7 +114,7 @@ $(__Wl_clipboard):
### PHONY targets that a user would run ### ### PHONY targets that a user would run ###
.PHONY : all .PHONY : all
all: all:
ifneq ($(git submodule status | grep --quiet '^-' ; echo $$?), 1) ifneq ($(shell test git submodule status | grep --quiet '^-' ; echo $$?), 1)
$(error "Git submodules have not been initialised. Please run: git \ $(error "Git submodules have not been initialised. Please run: git \
"submodule update --init") "submodule update --init")
endif endif