aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorVaxry <[email protected]>2022-08-22 15:16:32 +0200
committerGitHub <[email protected]>2022-08-22 15:16:32 +0200
commit4c6d9b7d5a54741ff92e8f8ed68d5554d3c9c619 (patch)
tree582f06006e051c79ac4a08615f10e2dbb3a925a9 /Makefile
parent9f5e099cd1e7e065349b02f3239a4ea87b9c9e75 (diff)
parentfea6d7deb0a59e96c2d66e3e8a0b41e0debd1428 (diff)
downloadHyprland-4c6d9b7d5a54741ff92e8f8ed68d5554d3c9c619.tar.gz
Hyprland-4c6d9b7d5a54741ff92e8f8ed68d5554d3c9c619.zip
Merge pull request #555 from viperML/update-man
docs: build man pages to repo
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6ebd3bd3..514952de 100644
--- a/Makefile
+++ b/Makefile
@@ -136,12 +136,16 @@ install:
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
rm -f ${PREFIX}/bin/Hyprland
rm -f ${PREFIX}/bin/hyprctl
rm -f /usr/lib/libwlroots.so.11032
rm -rf ${PREFIX}/share/hyprland
+ rm -f ${PREFIX}/share/man/man1/Hyprland.1
+ rm -f ${PREFIX}/share/man/man1/hyprctl.1
protocols: xdg-shell-protocol.o wlr-layer-shell-unstable-v1-protocol.o wlr-screencopy-unstable-v1-protocol.o idle-protocol.o ext-workspace-unstable-v1-protocol.o pointer-constraints-unstable-v1-protocol.o tablet-unstable-v2-protocol.o wlr-output-power-management-unstable-v1-protocol.o
@@ -167,7 +171,7 @@ man:
--variable=date:"${DATE}" \
--variable=section:1 \
--from rst \
- --to man | gzip -c > /usr/share/man/man1/Hyprland.1.gz
+ --to man > ./docs/Hyprland.1
pandoc ./docs/hyprctl.1.rst \
--standalone \
@@ -175,4 +179,4 @@ man:
--variable=date:"${DATE}" \
--variable=section:1 \
--from rst \
- --to man | gzip -c > /usr/share/man/man1/hyprctl.1.gz
+ --to man > ./docs/hyprctl.1