diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in index 21b6b5b34..15f9ae1ba 100644 --- a/doc/Doxyfile.in +++ b/doc/Doxyfile.in @@ -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 diff --git a/doc/meson.build b/doc/meson.build index 7e876bce5..b1cb115d3 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -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')