Updated Makefile

This commit is contained in:
Ethan Smith-Coss 2024-06-20 22:21:27 +01:00
parent 31e7f4c455
commit 33359b514a
Signed by: TheOnePath
GPG Key ID: 1D351CCC6D01F32B

View File

@ -115,9 +115,9 @@ $(__Wl_clipboard):
.PHONY : all
all:
@if git submodule status | grep --quiet '^-' ; then\
$(error "Git submodules have not been initialised. Please run: git \
submodule update --init");\
if
echo "Git submodules have not been initialised. Please run: git \
submodule update --init --recursive" ; exit 1 ;\
fi
@cd Hyprland/subprojects && git submodule update --init
$(MAKE) build