Skip to content

Commit

Permalink
Merge pull request #573 from NotAShelf/main
Browse files Browse the repository at this point in the history
Add cleaninstall task
  • Loading branch information
vaxerski authored Aug 24, 2022
2 parents 6c2175e + a9761cb commit e924691
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
19 changes: 19 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,25 @@ install:
cp ./assets/wall_8K.png ${PREFIX}/share/hyprland

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:
rm -f ${PREFIX}/share/wayland-sessions/hyprland.desktop
Expand Down
2 changes: 1 addition & 1 deletion docs/Hyprland.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" 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
.SH NAME
.PP
Expand Down
2 changes: 1 addition & 1 deletion docs/hyprctl.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" 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
.SH NAME
.PP
Expand Down

0 comments on commit e924691

Please sign in to comment.