aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVaxry <[email protected]>2022-08-24 22:05:27 +0200
committerGitHub <[email protected]>2022-08-24 22:05:27 +0200
commite92469121d37af387cb7fa507ae6ac6225cb9ebc (patch)
treea9d8c841d202ee85b7742542f75241e3e13b81a6
parent6c2175ed525cbdc4bb263afbbcbf464ed091f4cd (diff)
parenta9761cb1c8bd7c120549f897ee19e86684102246 (diff)
downloadHyprland-e92469121d37af387cb7fa507ae6ac6225cb9ebc.tar.gz
Hyprland-e92469121d37af387cb7fa507ae6ac6225cb9ebc.zip
Merge pull request #573 from NotAShelf/main
Add cleaninstall task
-rw-r--r--Makefile19
-rw-r--r--docs/Hyprland.12
-rw-r--r--docs/hyprctl.12
3 files changed, 21 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 514952de..825963da 100644
--- a/Makefile
+++ b/Makefile
@@ -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
diff --git a/docs/Hyprland.1 b/docs/Hyprland.1
index f8b94911..ee17b7d7 100644
--- a/docs/Hyprland.1
+++ b/docs/Hyprland.1
@@ -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
diff --git a/docs/hyprctl.1 b/docs/hyprctl.1
index 9900734f..59f3de3d 100644
--- a/docs/hyprctl.1
+++ b/docs/hyprctl.1
@@ -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