On Wed, Jan 04, 2023 at 11:01:28AM -0500, Steven Rostedt wrote: > On Wed, 28 Dec 2022 09:29:06 +0100 > Daniel Wagner <dwagner@xxxxxxx> wrote: > > > In case you want to build/install the documentation the setup is > > > > meson -Ddocs-build=true .build > > > > Signed-off-by: Daniel Wagner <dwagner@xxxxxxx> > > Can we make this so that building docs does not require building the rest > of the code? Yes, it could be done by introducing a new target which is not run per default. Currently, the docs are not added to the build when '-Ddocs-build=true' is missing. If I understood you correctly you prefer: meson setup .build meson compile -C .build meson compile -C .build doc and drop the '-Ddocs-build' option?