mirror of
https://github.com/Trensa-Organization/split-monitor-workspaces.git
synced 2025-03-16 03:33:38 +01:00
chore: make install dir before copying
This commit is contained in:
parent
44785cee3f
commit
3c43f82122
1 changed files with 4 additions and 1 deletions
5
Makefile
5
Makefile
|
@ -12,6 +12,8 @@ COMPILE_FLAGS+=-Iinclude
|
||||||
|
|
||||||
COMPILE_DEFINES=-DWLR_USE_UNSTABLE
|
COMPILE_DEFINES=-DWLR_USE_UNSTABLE
|
||||||
|
|
||||||
|
INSTALL_LOCATION=${HOME}/.local/share/hyprload/plugins/bin
|
||||||
|
|
||||||
ifeq ($(shell whereis -b jq), "jq:")
|
ifeq ($(shell whereis -b jq), "jq:")
|
||||||
$(error "jq not found. Please install jq.")
|
$(error "jq not found. Please install jq.")
|
||||||
else
|
else
|
||||||
|
@ -26,7 +28,8 @@ endif
|
||||||
all: check_env $(PLUGIN_NAME).so
|
all: check_env $(PLUGIN_NAME).so
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
cp $(PLUGIN_NAME).so ${HOME}/.local/share/hyprload/plugins/bin
|
mkdir -p ${INSTALL_LOCATION}
|
||||||
|
cp $(PLUGIN_NAME).so ${INSTALL_LOCATION}
|
||||||
|
|
||||||
check_env:
|
check_env:
|
||||||
@if pkg-config --exists hyprland; then \
|
@if pkg-config --exists hyprland; then \
|
||||||
|
|
Loading…
Add table
Reference in a new issue