diff options
author | vaxerski <[email protected]> | 2022-07-15 11:39:11 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-07-15 11:39:11 +0200 |
commit | c0377457df863c6817fc6ac0bf6eb226f0d3d1e9 (patch) | |
tree | da2cda79d904b77d3915122e9f9f6058aee8297b /Makefile | |
parent | 634970a284146f41ef8eae8b5b1d9a17cce05a4c (diff) | |
download | Hyprland-c0377457df863c6817fc6ac0bf6eb226f0d3d1e9.tar.gz Hyprland-c0377457df863c6817fc6ac0bf6eb226f0d3d1e9.zip |
don't poison wlr in make install
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 6 insertions, 10 deletions
@@ -107,11 +107,13 @@ all: cd ./hyprctl && make all && cd .. install: - [ ! -d /usr/include/wlr ] || mv /usr/include/wlr /usr/include/wlrBackup - [ ! -f /usr/lib/libwlroots.so ] || mv /usr/lib/libwlroots.so /usr/lib/libwlroots.so.backup - [ ! -f /usr/lib/pkgconfig/wlroots.pc ] || mv /usr/lib/pkgconfig/wlroots.pc /usr/lib/pkgconfig/wlroots.pc.backup + make clear + make fixwlr + cd ./subprojects/wlroots && meson build/ --buildtype=release && ninja -C build/ && cp ./build/libwlroots.so.11032 /usr/lib/ && cd ../.. + make protocols + make release + cd hyprctl && make all && cd .. - make all mkdir -p ${PREFIX}/share/wayland-sessions cp ./example/hyprland.desktop ${PREFIX}/share/wayland-sessions/ mkdir -p ${PREFIX}/bin @@ -122,12 +124,6 @@ install: cp ./assets/wall_4K.png ${PREFIX}/share/hyprland cp ./assets/wall_8K.png ${PREFIX}/share/hyprland - rm -rf /usr/include/wlr - rm -f /usr/lib/libwlroots.so - rm -f /usr/lib/pkgconfig/wlroots.pc - [ ! -d /usr/include/wlrBackup ] || mv /usr/include/wlrBackup /usr/include/wlr - [ ! -f /usr/lib/libwlroots.so.backup ] || mv -f /usr/lib/libwlroots.so.backup /usr/lib/libwlroots.so - [ ! -f /usr/lib/pkgconfig/wlroots.pc.backup ] || mv -f /usr/lib/pkgconfig/wlroots.pc.backup /usr/lib/pkgconfig/wlroots.pc uninstall: rm -f ${PREFIX}/share/wayland-sessions/hyprland.desktop |