LADI
/
spa
1
Fork 0

doc: specify Doxygen OUTPUT_DIRECTORY as an absolute path

Currently, doxygen is run by ninja in the top-level build directory,
therefore the "doc" folder is always created there. However, when
pipewire 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.
This commit is contained in:
Barnabás Pőcze 2023-01-14 22:02:13 +01:00 committed by Wim Taymans
parent 7b355d5628
commit 375cc73b9d
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
PROJECT_NAME = PipeWire
PROJECT_NUMBER = @PACKAGE_VERSION@
OUTPUT_DIRECTORY = doc
OUTPUT_DIRECTORY = "@output_directory@"
FULL_PATH_NAMES = NO
JAVADOC_AUTOBRIEF = YES
TAB_SIZE = 8

View File

@ -3,6 +3,7 @@ doxyfile_conf.set('PACKAGE_NAME', meson.project_name())
doxyfile_conf.set('PACKAGE_VERSION', meson.project_version())
doxyfile_conf.set('top_srcdir', meson.project_source_root())
doxyfile_conf.set('top_builddir', meson.project_build_root())
doxyfile_conf.set('output_directory', meson.current_build_dir())
dot_found = find_program('dot', required: false).found()
summary({'dot (used with doxygen)': dot_found}, bool_yn: true, section: 'Optional programs')