meson: use project build root for doxygen output
authorSimon Ser <contact@emersion.fr>
Tue, 5 Jan 2021 11:05:11 +0000 (12:05 +0100)
committerSimon Ser <contact@emersion.fr>
Sat, 5 Feb 2022 14:39:23 +0000 (15:39 +0100)
commit7816f0b84218dbfa63689052c0a996600902cd8e
tree520fc0f1efd03540f6ea860301593e4c88e944b2
parentc78807520f6c458f3afda3c709fb0f4862971958
meson: use project build root for doxygen output

meson.build_root() returns the parent's build directory if Wayland is
a subproject. This fails with:

    error: tag OUTPUT_DIRECTORY: Output directory '<parent-build-dir>/doc/doxygen' does not exist and cannot be created

Instead, use meson.project_build_root(), which returns the subproject's
build directory.

Signed-off-by: Simon Ser <contact@emersion.fr>
doc/doxygen/meson.build