Updated Makefile

This commit is contained in:
Ethan Smith-Coss 2024-10-08 19:05:31 +01:00
parent b79e853222
commit 3f78dd2cdc
Signed by: TheOnePath
GPG Key ID: 1D351CCC6D01F32B

View File

@ -126,11 +126,11 @@ submodule update --init --recursive" ; exit 1 ;\
@cd Hyprland/subprojects && git submodule update --init
$(MAKE) build
build: $(__Hyprlock) $(__Hyprpaper) $(__Wl_clipboard)/wl-copy $(__Hyprland)
build: $(__Hyprpaper) $(__Wl_clipboard)/wl-copy $(__Hyprland) #$(__Hyprlock)
install: build
@echo "Installing hyprlock..."
sudo $(CMAKE) --install hyprlock/build
# @echo "Installing hyprlock..."
# sudo $(CMAKE) --install hyprlock/build
@echo "Installing hyprpaper"
sudo $(CMAKE) --install hyprpaper/build
@echo "Installing wl-clipboard"
@ -144,10 +144,12 @@ update:
'git pull origin $$(git rev-parse --abbrev-ref HEAD)'
# In case these libraries haven't been pulled yet, ignore the exit code
-cd tomlplusplus && git pull origin $$(git rev-parse --abbrev-ref HEAD)
-cd libxcb-error && git pull origin $$(git rev-parse --abbrev-ref HEAD)
-cd libxcb-errors && git pull origin $$(git rev-parse --abbrev-ref HEAD)
@echo "Please note that if tomlplusplus or libxcb-errors throw an error \
for not being found, this is defined behaviour since these libraries \
are cloned into the project later. You can safely ignore this."
-cd Hyprland && git fetch origin --tags && git checkout $$(git tag --list \
| sort -V | tail -n1) && git pull origin $$(git rev-parse --abbrev-ref HEAD)
test: build
@echo "Be real, you don't want to do this, so we'll abort."