From fea6d7deb0a59e96c2d66e3e8a0b41e0debd1428 Mon Sep 17 00:00:00 2001 From: Fernando Ayats Date: Sun, 21 Aug 2022 17:58:03 +0200 Subject: [PATCH] docs: install manpages with meson --- .gitignore | 4 ++-- docs/meson.build | 2 ++ meson.build | 1 + nix/default.nix | 5 +++++ 4 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 docs/meson.build diff --git a/.gitignore b/.gitignore index 27b80f06..d52b86fc 100644 --- a/.gitignore +++ b/.gitignore @@ -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