summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2025-03-31 17:13:17 +0100
committerVaxry <vaxry@vaxry.net>2025-03-31 17:13:27 +0100
commit4c987b20e28362410d0c9f9a37bafd6f128b0a2c (patch)
tree627c04ed719776b39631f61ee8d88f407af035ce /Makefile
parent2309270752383be30857d9c15cd3e259c4e6ed58 (diff)
makefile: fix find command in installheaders
fixes #9812
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 74cf0c66..7405cfad 100644
--- a/Makefile
+++ b/Makefile
@@ -52,7 +52,7 @@ installheaders:
cmake --build ./build --config Release --target generate-protocol-headers
- find src -name '*.h*' -o -name '*.inc' -print0 | cpio --quiet -0dump ${PREFIX}/include/hyprland
+ find src -type f \( -name '*.hpp' -o -name '*.h' -o -name '*.inc' \) -print0 | cpio --quiet -0dump ${PREFIX}/include/hyprland
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