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 targets that a user would run ###
|
||||||
.PHONY : all
|
.PHONY : all
|
||||||
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 \
|
$(error "Git submodules have not been initialised. Please run: git \
|
||||||
"submodule update --init")
|
submodule update --init");\
|
||||||
endif
|
if
|
||||||
|
@cd Hyprland/subprojects && git submodule update --init
|
||||||
$(MAKE) build
|
$(MAKE) build
|
||||||
|
|
||||||
.PHONY : build
|
.PHONY : build
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user