From 8bbb790d87494ef56ac77605cc4aba1889e220d0 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Wed, 24 Aug 2022 15:46:38 +0000 Subject: [PATCH 1/4] [gha] build man pages --- docs/Hyprland.1 | 2 +- docs/hyprctl.1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Hyprland.1 b/docs/Hyprland.1 index f8b94911375..ee17b7d7817 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 9900734f7f8..59f3de3d920 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 From 83ef951c215059923cae1b88691389dbaa79bea0 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Wed, 24 Aug 2022 18:47:35 +0300 Subject: [PATCH 2/4] add clean install for those who build from source --- Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Makefile b/Makefile index 514952de763..b40a033d445 100644 --- a/Makefile +++ b/Makefile @@ -137,6 +137,26 @@ install: cp ./assets/wall_8K.png ${PREFIX}/share/hyprland install -Dm644 -t ${PREFIX}/share/man/man1 ./docs/*.1 + +claninstall: + 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 From 3fd903ee74896376cd5c61dc75b35929046dcee2 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Wed, 24 Aug 2022 18:51:57 +0300 Subject: [PATCH 3/4] remove unintended whitespace --- Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/Makefile b/Makefile index b40a033d445..75d30e270e6 100644 --- a/Makefile +++ b/Makefile @@ -157,7 +157,6 @@ claninstall: install -Dm644 -t ${PREFIX}/share/man/man1 ./docs/*.1 - uninstall: rm -f ${PREFIX}/share/wayland-sessions/hyprland.desktop rm -f ${PREFIX}/bin/Hyprland From a4f7bd4bc2139c2e6ac51443675e3fc7f9bde606 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Wed, 24 Aug 2022 18:53:30 +0300 Subject: [PATCH 4/4] fix typo what is this, clash of clans? --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 75d30e270e6..825963dac22 100644 --- a/Makefile +++ b/Makefile @@ -138,7 +138,7 @@ install: install -Dm644 -t ${PREFIX}/share/man/man1 ./docs/*.1 -claninstall: +cleaninstall: make clear make fixwlr cd ./subprojects/wlroots && meson build/ --buildtype=release && ninja -C build/ && cp ./build/libwlroots.so.11032 /usr/lib/ && cd ../..