]> git.ipfire.org Git - thirdparty/systemd.git/commit - meson_options.txt
meson: add custom targets man/man and man/html
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 6 Apr 2017 02:46:03 +0000 (22:46 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 24 Apr 2017 01:47:26 +0000 (21:47 -0400)
commit527d43d7012d9f9a33be18b51306487edfe5ae57
tree43c609fa1d0e355334b8bcc036b45ca76f609ba6
parent04e3eb46e316dacc990bed1e520df44327bbf5c1
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
man/meson.build
meson_options.txt