1
0
Fork 0
mirror of https://github.com/hyprwm/Hyprland synced 2025-04-09 16:52:15 +02:00

makefile: fix find command in installheaders

fixes 
This commit is contained in:
Vaxry 2025-03-31 17:13:17 +01:00
parent 2309270752
commit 4c987b20e2

View file

@ -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