aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-04-12 18:07:04 +0100
committerVaxry <[email protected]>2024-04-12 18:07:04 +0100
commit382b6d3f6b26284388cfe3181c447f11a8dc9bee (patch)
tree78d827fa6196a701547394ee4366d03a6ec4aa88 /Makefile
parent0a70ccd099d5620fcb65be90212fd09bad82fc30 (diff)
downloadHyprland-382b6d3f6b26284388cfe3181c447f11a8dc9bee.tar.gz
Hyprland-382b6d3f6b26284388cfe3181c447f11a8dc9bee.zip
makefile: move wlr headers dir
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 8407385b..432dd4eb 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ debug:
clear:
rm -rf build
rm -f ./protocols/*-protocol.h ./protocols/*-protocol.c
- rm -rf ./subprojects/wlroots/build
+ rm -rf ./subprojects/wlroots-hyprland/build
all:
@if [[ "$EUID" = 0 ]]; then echo -en "Avoid running $(MAKE) all as sudo.\n"; fi
@@ -89,12 +89,12 @@ installheaders:
rm -fr ${PREFIX}/include/hyprland
mkdir -p ${PREFIX}/include/hyprland
mkdir -p ${PREFIX}/include/hyprland/protocols
- mkdir -p ${PREFIX}/include/hyprland/wlroots
+ mkdir -p ${PREFIX}/include/hyprland/wlroots-hyprland
mkdir -p ${PREFIX}/share/pkgconfig
find src -name '*.h*' -print0 | cpio --quiet -0dump ${PREFIX}/include/hyprland
- cd subprojects/wlroots/include && find . -name '*.h*' -print0 | cpio --quiet -0dump ${PREFIX}/include/hyprland/wlroots && cd ../../..
- cd subprojects/wlroots/build/include && find . -name '*.h*' -print0 | cpio --quiet -0dump ${PREFIX}/include/hyprland/wlroots && cd ../../../..
+ cd subprojects/wlroots-hyprland/include && find . -name '*.h*' -print0 | cpio --quiet -0dump ${PREFIX}/include/hyprland/wlroots-hyprland && cd ../../..
+ cd subprojects/wlroots-hyprland/build/include && find . -name '*.h*' -print0 | cpio --quiet -0dump ${PREFIX}/include/hyprland/wlroots-hyprland && cd ../../../..
cp ./protocols/*-protocol.h ${PREFIX}/include/hyprland/protocols
cp ./build/hyprland.pc ${PREFIX}/share/pkgconfig
if [ -d /usr/share/pkgconfig ]; then cp ./build/hyprland.pc /usr/share/pkgconfig 2>/dev/null || true; fi