summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2023-05-09 20:57:08 -0400
committerEli Schwartz <eschwartz@archlinux.org>2023-05-09 21:33:32 -0400
commit53f43605ce05efa9c5c3b4403be6bbd23ebdb88c (patch)
tree6d4c5ddc481035d6b28d0e99ba99a701e7547bfc
parent6f78db93bfe0d0b7df30abb76f77cb4575db1aa4 (diff)
downloadmeson-53f43605ce05efa9c5c3b4403be6bbd23ebdb88c.tar.gz
docs: make the man page installable
Users now have the *option* to run the documentation build and use `meson install` to install man pages.
-rw-r--r--docs/meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/meson.build b/docs/meson.build
index b5ff25c0a..f651feb2a 100644
--- a/docs/meson.build
+++ b/docs/meson.build
@@ -51,6 +51,8 @@ refman_man = custom_target(
'--force-color',
'--no-modules',
],
+ install: true,
+ install_dir: get_option('mandir') / 'man3',
)
# Everything past here is HTML resources.