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.
This commit is contained in:
parent
9d92601f3f
commit
3f0a9b8514
6
Makefile
6
Makefile
|
|
@ -101,7 +101,7 @@ $(__Hyprpaper): $(__Hyprlang)
|
||||||
|
|
||||||
# Build wl-clipboard if it's not installed on the system
|
# Build wl-clipboard if it's not installed on the system
|
||||||
__Wl_clipboard = wl-clipboard/build/src
|
__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
|
cd wl-clipboard && $(MESON) setup --prefix=/usr build
|
||||||
ninja -C wl-clipboard/build
|
ninja -C wl-clipboard/build
|
||||||
|
|
||||||
|
|
@ -116,14 +116,14 @@ submodule update --init --recursive" ; exit 1 ;\
|
||||||
$(MAKE) build
|
$(MAKE) build
|
||||||
|
|
||||||
.PHONY : build
|
.PHONY : build
|
||||||
build: $(__Hyprlock) $(__Hyprpaper) $(__Wl-clipboard)/wl-copy $(__Hyprland)
|
build: $(__Hyprlock) $(__Hyprpaper) $(__Wl_clipboard)/wl-copy $(__Hyprland)
|
||||||
|
|
||||||
.PHONY : install
|
.PHONY : install
|
||||||
install: build
|
install: build
|
||||||
@echo "Installing hyprlock..."
|
@echo "Installing hyprlock..."
|
||||||
sudo $(CMAKE) --install hyprlock/build
|
sudo $(CMAKE) --install hyprlock/build
|
||||||
@echo "Installing hyprpaper"
|
@echo "Installing hyprpaper"
|
||||||
$(CMAKE) --install hyprpaper/build
|
sudo $(CMAKE) --install hyprpaper/build
|
||||||
@echo "Installing wl-clipboard"
|
@echo "Installing wl-clipboard"
|
||||||
sudo $(MESON) install -C wl-clipboard/build
|
sudo $(MESON) install -C wl-clipboard/build
|
||||||
@echo "Installing Hyprland"
|
@echo "Installing Hyprland"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user