docs: install manpages with meson

This commit is contained in:
Fernando Ayats 2022-08-21 17:58:03 +02:00
parent 463bc7ab13
commit fea6d7deb0
4 changed files with 10 additions and 2 deletions

4
.gitignore vendored
View file

@ -10,7 +10,7 @@ CTestTestfile.cmake
_deps
build/
result
result*
/.vscode/
.envrc
.cache
@ -24,4 +24,4 @@ hyprctl/hyprctl
gmon.out
*.out
*.tar.gz
*.tar.gz

2
docs/meson.build Normal file
View file

@ -0,0 +1,2 @@
install_man ('Hyprland.1')
install_man ('hyprctl.1')

View file

@ -59,3 +59,4 @@ subdir('src')
subdir('hyprctl')
subdir('assets')
subdir('example')
subdir('docs')

View file

@ -44,6 +44,11 @@ stdenv.mkDerivation {
pkg-config
];
outputs = [
"out"
"man"
];
buildInputs =
[
git