summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-01-05 12:05:11 +0100
committerSimon Ser <contact@emersion.fr>2022-02-05 15:39:23 +0100
commit7816f0b84218dbfa63689052c0a996600902cd8e (patch)
tree520fc0f1efd03540f6ea860301593e4c88e944b2 /doc
parentc78807520f6c458f3afda3c709fb0f4862971958 (diff)
downloadwayland-7816f0b84218dbfa63689052c0a996600902cd8e.tar.gz
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>
Diffstat (limited to 'doc')
-rw-r--r--doc/doxygen/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/doxygen/meson.build b/doc/doxygen/meson.build
index f2bee14..9f27ba8 100644
--- a/doc/doxygen/meson.build
+++ b/doc/doxygen/meson.build
@@ -13,7 +13,7 @@ dot_map = []
doxygen_conf = configuration_data()
doxygen_conf.set('VERSION', meson.project_version())
-doxygen_conf.set('top_builddir', meson.build_root())
+doxygen_conf.set('top_builddir', meson.project_build_root())
wayland_doxygen = configure_file(
input: 'wayland.doxygen.in',
output: 'wayland.doxygen',