diff options
author | Fernando Ayats <[email protected]> | 2022-08-21 17:58:03 +0200 |
---|---|---|
committer | Fernando Ayats <[email protected]> | 2022-08-21 18:00:04 +0200 |
commit | fea6d7deb0a59e96c2d66e3e8a0b41e0debd1428 (patch) | |
tree | 8a7b464d3bf8fa21d5e8dea2a94a1ed441fa49f3 | |
parent | 463bc7ab13b9707857f32943ee5ca6ad98384f71 (diff) | |
download | Hyprland-fea6d7deb0a59e96c2d66e3e8a0b41e0debd1428.tar.gz Hyprland-fea6d7deb0a59e96c2d66e3e8a0b41e0debd1428.zip |
docs: install manpages with meson
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | docs/meson.build | 2 | ||||
-rw-r--r-- | meson.build | 1 | ||||
-rw-r--r-- | nix/default.nix | 5 |
4 files changed, 10 insertions, 2 deletions
@@ -10,7 +10,7 @@ CTestTestfile.cmake _deps build/ -result +result* /.vscode/ .envrc .cache @@ -24,4 +24,4 @@ hyprctl/hyprctl gmon.out *.out -*.tar.gz
\ No newline at end of file +*.tar.gz diff --git a/docs/meson.build b/docs/meson.build new file mode 100644 index 00000000..a5d7e737 --- /dev/null +++ b/docs/meson.build @@ -0,0 +1,2 @@ +install_man ('Hyprland.1') +install_man ('hyprctl.1') diff --git a/meson.build b/meson.build index 94353336..e0f5d3fe 100644 --- a/meson.build +++ b/meson.build @@ -59,3 +59,4 @@ subdir('src') subdir('hyprctl') subdir('assets') subdir('example') +subdir('docs') diff --git a/nix/default.nix b/nix/default.nix index adabd69f..ffea6e0c 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -44,6 +44,11 @@ stdenv.mkDerivation { pkg-config ]; + outputs = [ + "out" + "man" + ]; + buildInputs = [ git |