Merge pull request #573 from NotAShelf/main

Add cleaninstall task
This commit is contained in:
Vaxry 2022-08-24 22:05:27 +02:00 committed by GitHub
commit e92469121d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 2 deletions

View file

@ -138,6 +138,25 @@ install:
install -Dm644 -t ${PREFIX}/share/man/man1 ./docs/*.1 install -Dm644 -t ${PREFIX}/share/man/man1 ./docs/*.1
cleaninstall:
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 ..
mkdir -p /usr/share/wayland-sessions
mkdir -p ${PREFIX}/bin
cp ./build/Hyprland ${PREFIX}/bin
cp ./hyprctl/hyprctl ${PREFIX}/bin
mkdir -p ${PREFIX}/share/hyprland
cp ./assets/wall_2K.png ${PREFIX}/share/hyprland
cp ./assets/wall_4K.png ${PREFIX}/share/hyprland
cp ./assets/wall_8K.png ${PREFIX}/share/hyprland
install -Dm644 -t ${PREFIX}/share/man/man1 ./docs/*.1
uninstall: uninstall:
rm -f ${PREFIX}/share/wayland-sessions/hyprland.desktop rm -f ${PREFIX}/share/wayland-sessions/hyprland.desktop
rm -f ${PREFIX}/bin/Hyprland rm -f ${PREFIX}/bin/Hyprland

View file

@ -1,6 +1,6 @@
.\" Automatically generated by Pandoc 2.5 .\" Automatically generated by Pandoc 2.5
.\" .\"
.TH "Hyprland" "1" "22 Aug 2022" "" "Hyprland User Manual" .TH "Hyprland" "1" "24 Aug 2022" "" "Hyprland User Manual"
.hy .hy
.SH NAME .SH NAME
.PP .PP

View file

@ -1,6 +1,6 @@
.\" Automatically generated by Pandoc 2.5 .\" Automatically generated by Pandoc 2.5
.\" .\"
.TH "hyprctl" "1" "22 Aug 2022" "" "hyprctl User Manual" .TH "hyprctl" "1" "24 Aug 2022" "" "hyprctl User Manual"
.hy .hy
.SH NAME .SH NAME
.PP .PP