summaryrefslogtreecommitdiff
path: root/Documentation/meson.build
diff options
context:
space:
mode:
authorBarnabás Pőcze <pobrn@protonmail.com>2023-01-02 23:00:53 +0000
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2023-01-05 12:08:35 +0200
commit96cd064214aa4f190a06a9aea59b919722e98ccf (patch)
tree27c3334e05fbab079ffe30342ba30781e6d62576 /Documentation/meson.build
parent504b6437613f35de043485bd064843d6af269c74 (diff)
Documentation: Specify Doxygen OUTPUT_DIRECTORY explicitly
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 <pobrn@protonmail.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'Documentation/meson.build')
-rw-r--r--Documentation/meson.build1
1 files changed, 1 insertions, 0 deletions
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',