From 96cd064214aa4f190a06a9aea59b919722e98ccf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A1s=20P=C5=91cze?= Date: Mon, 2 Jan 2023 23:00:53 +0000 Subject: Documentation: Specify Doxygen OUTPUT_DIRECTORY explicitly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently, doxygen is run by ninja in the top-level build directory, therefore the "Documentation" folder is always created there. However, when libcamera is built as a subproject, it should not touch the top-level build directory because it can cause conflicts and because the documentation won't be created where meson thinks it will be, so the "doxygen" target will always be dirty and installation will fail. Signed-off-by: Barnabás Pőcze Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart --- Documentation/meson.build | 1 + 1 file changed, 1 insertion(+) (limited to 'Documentation/meson.build') diff --git a/Documentation/meson.build b/Documentation/meson.build index 7695bcb1..18646156 100644 --- a/Documentation/meson.build +++ b/Documentation/meson.build @@ -14,6 +14,7 @@ if doxygen.found() and dot.found() cdata.set('VERSION', 'v@0@'.format(libcamera_git_version)) cdata.set('TOP_SRCDIR', meson.project_source_root()) cdata.set('TOP_BUILDDIR', meson.project_build_root()) + cdata.set('OUTPUT_DIR', meson.current_build_dir()) doxyfile = configure_file(input : 'Doxyfile.in', output : 'Doxyfile', -- cgit v1.2.1