aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFernando Ayats <[email protected]>2022-08-21 17:58:03 +0200
committerFernando Ayats <[email protected]>2022-08-21 18:00:04 +0200
commitfea6d7deb0a59e96c2d66e3e8a0b41e0debd1428 (patch)
tree8a7b464d3bf8fa21d5e8dea2a94a1ed441fa49f3
parent463bc7ab13b9707857f32943ee5ca6ad98384f71 (diff)
downloadHyprland-fea6d7deb0a59e96c2d66e3e8a0b41e0debd1428.tar.gz
Hyprland-fea6d7deb0a59e96c2d66e3e8a0b41e0debd1428.zip
docs: install manpages with meson
-rw-r--r--.gitignore4
-rw-r--r--docs/meson.build2
-rw-r--r--meson.build1
-rw-r--r--nix/default.nix5
4 files changed, 10 insertions, 2 deletions
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