meson: add docs, docs_pdf options

Andres Freund <andres@anarazel.de>

Commit: ef07d351a1860a6e93c89cc7af3ae13366942bf0
Author: Andres Freund <andres@anarazel.de>
Date: 2023-04-05T04:29:39Z
Releases: 16.0
meson: add docs, docs_pdf options

Detect and report if the tools necessary to build documentation are available
during configure. This is represented as two new options 'docs' and
'docs_pdf', both defaulting to 'auto'.

This should also fix a meson error about the installdocs target, when none of
the doc tools are found.

Reviewed-by: Justin Pryzby <pryzby@telsasoft.com>
Discussion: https://postgr.es/m/20230325201414.sh7c6xlut2fpunnv@awork3.anarazel.de
Discussion: https://postgr.es/m/ZB8331v5IhUA/pNu@telsasoft.com

Files

PathChange+/−
doc/src/sgml/installation.sgml modified +33 −0
doc/src/sgml/meson.build modified +7 −16
meson.build modified +37 −0
meson_options.txt modified +9 −0

Documentation touched

Discussion

Cited messages not in the archive: ZB8331v5IhUA/pNu@telsasoft.com