diff options
author | Mihai Fufezan <[email protected]> | 2024-05-11 14:46:04 +0300 |
---|---|---|
committer | Mihai Fufezan <[email protected]> | 2024-05-12 17:49:50 +0300 |
commit | ff93820bbb9313e004e23afb1257aa774a922be1 (patch) | |
tree | 30221ef5c1a02077e493f0887eb28e3cda63310a /Makefile | |
parent | 071f6977dff6a4c49c2b52ac7030c7cbf666c9a5 (diff) | |
download | Hyprland-ff93820bbb9313e004e23afb1257aa774a922be1.tar.gz Hyprland-ff93820bbb9313e004e23afb1257aa774a922be1.zip |
Makefile: fix wlr dir
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -46,17 +46,17 @@ pluginenv: installheaders: @if [ ! -f ./src/version.h ]; then echo -en "You need to run $(MAKE) all first.\n" && exit 1; fi + # remove previous headers from hyprpm's dir rm -fr ${PREFIX}/include/hyprland mkdir -p ${PREFIX}/include/hyprland mkdir -p ${PREFIX}/include/hyprland/protocols - mkdir -p ${PREFIX}/include/hyprland/wlroots-hyprland + mkdir -p ${PREFIX}/include/hyprland/wlr mkdir -p ${PREFIX}/share/pkgconfig find src -name '*.h*' -print0 | cpio --quiet -0dump ${PREFIX}/include/hyprland - 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/*.h ${PREFIX}/include/hyprland/protocols - cp ./protocols/*.hpp ${PREFIX}/include/hyprland/protocols + cd subprojects/wlroots-hyprland/include && find . -name '*.h*' -print0 | cpio --quiet -0dump ${PREFIX}/include/hyprland/wlr && cd ../../.. + cd subprojects/wlroots-hyprland/build/include && find . -name '*.h*' -print0 | cpio --quiet -0dump ${PREFIX}/include/hyprland/wlr && cd ../../../.. + cp ./protocols/*.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 |