diff options
author | zjeffer <[email protected]> | 2024-05-22 00:02:01 +0200 |
---|---|---|
committer | Mihai Fufezan <[email protected]> | 2024-05-25 23:03:27 +0300 |
commit | a71207434c0bc2c8e05e94b1619e68059a002879 (patch) | |
tree | c21b229ab3aea2652334ec025dd883e42ff9caf9 /Makefile | |
parent | 71c2ff3105942fb5d698225012d2082219e868de (diff) | |
download | Hyprland-a71207434c0bc2c8e05e94b1619e68059a002879.tar.gz Hyprland-a71207434c0bc2c8e05e94b1619e68059a002879.zip |
Add custom cmake target for installheaders
This will ensure the correct headers are generated before trying to
install them.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -53,6 +53,8 @@ installheaders: mkdir -p ${PREFIX}/include/hyprland/wlr mkdir -p ${PREFIX}/share/pkgconfig + cmake --build ./build --config Release --target generate-protocol-headers + find src -name '*.h*' -print0 | cpio --quiet -0dump ${PREFIX}/include/hyprland cd subprojects/wlroots-hyprland/include/wlr && 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 ../../../.. |