Re: meson documentation build open issues
Andres Freund <andres@anarazel.de>
Hi, On November 7, 2023 7:55:37 AM PST, Peter Eisentraut <peter@eisentraut.org> wrote: >On 03.11.23 19:19, Christoph Berg wrote: >>>>> You can control this with the "docs" option for meson, as of recently. >>>> I've been looking into switching the Debian PG 17 build to meson, but >>>> I'm running into several problems. >>>> >>>> * The docs are still not built by default, and -Ddocs=enabled doesn't >>>> change that >>> Maybe I am missing something - they aren't built by default in autoconf >>> either? >> True, but the documentation (and this thread) reads like it should. Or >> at least it should, when I explicitly say -Ddocs=enabled. >> >> What would also help is when the tail of the meson output had a list >> of features that are enabled. There's the list of "External libraries" >> which is quite helpful at figuring out what's still missing, but >> perhaps this could be extended: >> >> Features >> LLVM : YES (/usr/bin/llvm-config-16) >> DOCS : YES (html pdf texinfo) >> >> Atm it's hidden in the long initial blurb of "Checking for.." and the >> "NO" in there don't really stand out as much, since some of them are >> normal. > >I don't feel like we have fully worked out how the docs options should fit together. > >With the make build system, there is a canonical sequence of > >make world >make check-world >make install-world > >that encompasses everything. > >Now with meson to handle the documentation one needs to remember a variety of additional targets. (There is a risk that once this gets more widespread, more people will submit broken documentation.) install-world with meson also installs docs. >I would like to have some set of options that enables it so that the standard documentation targets become part of "meson compile" and "meson install". -0.5 - it's just too painfully slow. For all scripted uses you can just as well use install-world... Andres -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
Commits
-
docs: meson: Change what 'docs' target builds
- 9e5b2a091fd0 17.0 landed
-
meson: Add 'world' target
- 6614cfb43c82 17.0 landed
-
meson: Document build targets, add 'help' target
- 07cb29737a4e 17.0 landed
-
meson: docs: Add {html,man} targets, rename install-doc-*
- ddcab2a03295 17.0 landed
-
docs: Document --with-selinux/-Dselinux options centrally
- 06c70849fb26 17.0 landed
-
meson: Change default of 'selinux' feature option to auto
- c04f3de3dca3 17.0 landed
-
meson: Fix doc installation path computation
- 7b8399819b9b 17.0 landed
-
meson: Install missing example files
- b630d9d6c82a 17.0 landed
-
meson: docs: Install all manpages, not just ones in man1
- f646ac672567 16.1 landed
- a237a07d5351 17.0 landed
-
meson: docs: Allow configuring simple/website style
- 9d2a464a0484 16.0 landed
-
docs: html: load stylesheet via custom.css.source
- b8059bdf1ef8 16.0 landed
-
docs: html: copy images to output as part of xslt build
- 0012979d989f 16.0 landed
-
meson: docs: Preparatory cleanups
- 0ba827ecfc67 16.0 landed
-
docs: Remove support for 'htmlhelp' format
- d75c7fbaf94e 16.0 landed
-
meson: add install-{docs,doc-html,doc-man} targets
- f13eb16485fe 16.0 landed
-
meson: add install-{quiet, world} targets
- e522049f2399 16.0 landed
-
meson: make install_test_files more generic, rename to install_files
- 614c5f5f52d5 16.0 landed
-
meson: rename html_help target to htmlhelp
- 7730ceb43fe5 16.0 landed