From 3f0a9b8514e312a60af1a17f2a40f54c8479af8f Mon Sep 17 00:00:00 2001 From: TheOnePath Date: Fri, 28 Jun 2024 18:34:24 +0100 Subject: [PATCH] Updated Makefile Allowed for wl-clipboard to require either or binary to be built and recognise the project has been build (either wl-copy or wl-build). Fixed typos. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 98f7ae1..098eab3 100644 --- a/Makefile +++ b/Makefile @@ -101,7 +101,7 @@ $(__Hyprpaper): $(__Hyprlang) # Build wl-clipboard if it's not installed on the system __Wl_clipboard = wl-clipboard/build/src -$(__Wl_clipboard)/wl-copy $(__Wl-clipboard)/wl-paste: +$(__Wl_clipboard)/wl-copy $(__Wl_clipboard)/wl-paste &: cd wl-clipboard && $(MESON) setup --prefix=/usr build ninja -C wl-clipboard/build @@ -116,14 +116,14 @@ submodule update --init --recursive" ; exit 1 ;\ $(MAKE) build .PHONY : build -build: $(__Hyprlock) $(__Hyprpaper) $(__Wl-clipboard)/wl-copy $(__Hyprland) +build: $(__Hyprlock) $(__Hyprpaper) $(__Wl_clipboard)/wl-copy $(__Hyprland) .PHONY : install install: build @echo "Installing hyprlock..." sudo $(CMAKE) --install hyprlock/build @echo "Installing hyprpaper" - $(CMAKE) --install hyprpaper/build + sudo $(CMAKE) --install hyprpaper/build @echo "Installing wl-clipboard" sudo $(MESON) install -C wl-clipboard/build @echo "Installing Hyprland"