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 _deps
build/ build/
result result*
/.vscode/ /.vscode/
.envrc .envrc
.cache .cache
@ -24,4 +24,4 @@ hyprctl/hyprctl
gmon.out gmon.out
*.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('hyprctl')
subdir('assets') subdir('assets')
subdir('example') subdir('example')
subdir('docs')

View file

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