diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-06-25 12:13:24 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-06-25 12:13:24 +0200 |
| commit | 54e8e786122ae5e8d87a49d19eb2e8c57eb06e6b (patch) | |
| tree | 34a7877a07c93b6cfdd12dae6a620467f512b210 | |
| parent | b46f45befab6e2aa6daba76ec04cec4286eec56b (diff) | |
save wlroots and restore
| -rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -107,6 +107,9 @@ 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 + make all mkdir -p ${PREFIX}/share/wayland-sessions cp ./example/hyprland.desktop ${PREFIX}/share/wayland-sessions/ @@ -118,6 +121,10 @@ install: cp ./assets/wall_4K.png ${PREFIX}/share/hyprland cp ./assets/wall_8K.png ${PREFIX}/share/hyprland + rm -rf /usr/include/wlr + [ ! -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 + uninstall: rm -f ${PREFIX}/share/wayland-sessions/hyprland.desktop rm -f ${PREFIX}/bin/Hyprland |
