pgsql: meson: add docs, docs_pdf options

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: meson: add docs, docs_pdf options
Date: 2023-04-05 04:46:05
Message-ID: E1pjv24-001RDQ-KK@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)telsasoft(dot)com>
Discussion: https://postgr.es/m/20230325201414.sh7c6xlut2fpunnv@awork3.anarazel.de
Discussion: https://postgr.es/m/ZB8331v5IhUA/pNu(at)telsasoft(dot)com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ef07d351a1860a6e93c89cc7af3ae13366942bf0

Modified Files
--------------
doc/src/sgml/installation.sgml | 33 +++++++++++++++++++++++++++++++++
doc/src/sgml/meson.build | 23 +++++++----------------
meson.build | 37 +++++++++++++++++++++++++++++++++++++
meson_options.txt | 9 +++++++++
4 files changed, 86 insertions(+), 16 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2023-04-05 05:37:20 pgsql: Fix minor signed/unsigned mixup
Previous Message Amit Kapila 2023-04-05 03:59:08 pgsql: Add Copyright notice in 001_basic.pl and 002_pg_upgrade.pl.