summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-04-05 22:46:03 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-04-23 21:47:26 -0400
commit527d43d7012d9f9a33be18b51306487edfe5ae57 (patch)
tree43c609fa1d0e355334b8bcc036b45ca76f609ba6 /meson_options.txt
parent04e3eb46e316dacc990bed1e520df44327bbf5c1 (diff)
downloadsystemd-527d43d7012d9f9a33be18b51306487edfe5ae57.tar.gz
meson: add custom targets man/man and man/html
This provides functionality similar to the ./configure --disable-manpages switch. Man pages are built by default (if xsltproc is found), html pages are not. Those default can be changed with -Dman=no, -Dhtml=yes/auto. It is still possible to build one or the either, even if not configured, with ninja-build man/man and ninja-build man/html. v2: - obey conditionals in index/directives list
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 8a08852983..cc93310679 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -76,6 +76,11 @@ option('hwdb', type : 'boolean',
description : 'support for the hardware database')
option('rfkill', type : 'boolean',
description : 'support for the rfkill tools')
+option('man', type : 'combo', choices : ['auto', 'yes', 'no'],
+ description : 'build and install man pages')
+option('html', type : 'combo', choices : ['auto', 'yes', 'no'],
+ value : 'no',
+ description : 'build and install html pages')
option('certificate-root', type : 'string', value : '/etc/ssl',
description : 'the prefix for TLS certificates')