diff --git a/Makefile b/Makefile index b6c339b..6dc5945 100644 --- a/Makefile +++ b/Makefile @@ -114,10 +114,11 @@ $(__Wl_clipboard): ### PHONY targets that a user would run ### .PHONY : all all: - ifneq ($(shell test git submodule status | grep --quiet '^-' ; echo $$?), 1) + @if git submodule status | grep --quiet '^-' ; then\ $(error "Git submodules have not been initialised. Please run: git \ -"submodule update --init") - endif +submodule update --init");\ + if + @cd Hyprland/subprojects && git submodule update --init $(MAKE) build .PHONY : build