Updated Makefile
Fixed if statement for shell command
This commit is contained in:
parent
82034e3bfc
commit
31e7f4c455
7
Makefile
7
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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user