aboutsummaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-09-24 14:39:19 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-09-24 14:39:19 +0000
commit9d6b2c934222f7e492fba06d02dd2d5991814d1b (patch)
tree58f2cbe3a44348a38a58b1291c2812d613051f66 /meson_options.txt
parentchangelog: add new ‘unreleased’ section (diff)
meson: add -Dwith-docs=disabled|enabled|auto
When enabled, man pages are generated and installed, along with README.md, CHANGELOG.md and LICENSE. This requires ‘scdoc’ as a make dependency. When disabled, ‘scdoc’ is no longer required, no man pages will be built, and no documentation at all is installed. Defaults to ‘enabled’.
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
new file mode 100644
index 00000000..1e69f223
--- /dev/null
+++ b/meson_options.txt
@@ -0,0 +1,2 @@
+option('with-docs', type: 'feature', value: 'enabled',
+ description: 'generate and install documentation (man pages). Requires scdoc.')