build: Change default for -Dman-pages from disabled to auto

Previously, `-Dman=false` was the default, because the generated man
pages were shipped in the distribution tarball already, so the option
actually mostly controlled whether to *re*build them.

The generated pages are no longer shipped in the tarball (and probably
haven’t been since the port to Meson, though I haven’t checked), so it
makes sense to change the default to encourage building the man pages if
the right tooling (`rst2man`) is available.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
This commit is contained in:
Philip Withnall
2023-12-21 13:35:18 +00:00
parent 031e65808d
commit 020ebe42f9
3 changed files with 3 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ option('man',
option('man-pages',
type : 'feature',
value : 'disabled',
value : 'auto',
description : 'generate man pages (requires rst2man)',
deprecated : { 'true': 'enabled', 'false': 'disabled' })