summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-05-01 00:32:42 +0100
committerVaxry <vaxry@vaxry.net>2024-05-01 00:32:42 +0100
commit3d09c6d526a37b3bfd81bdd6d7427272d1ba90ac (patch)
treee860e4b6395c84f84ba10fc53d0cee0d3bfacab4 /Makefile
parent70ebc3add3b941a52f460f02129ef0842f580ec7 (diff)
makefile: fix old headers only being copied
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index cd93173b..07731993 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,7 @@ nopch:
clear:
rm -rf build
- rm -f ./protocols/*-protocol.h ./protocols/*-protocol.c
+ rm -f ./protocols/*.h ./protocols/*.c ./protocols/*.cpp ./protocols/*.hpp
rm -rf ./subprojects/wlroots-hyprland/build
all:
@@ -99,7 +99,8 @@ installheaders:
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/*-protocol.h ${PREFIX}/include/hyprland/protocols
+ cp ./protocols/*.h ${PREFIX}/include/hyprland/protocols
+ cp ./protocols/*.hpp ${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