[dpdk-dev] [PATCH] doc: add index file to doxygen dependencies

Bruce Richardson bruce.richardson at intel.com
Tue Sep 1 16:51:27 CEST 2020


The doxygen index file is not printed as a processed file by doxygen so it
does not appear in the output .d (dependency file) list automatically
generated. Therefore, for correct rebuild tracking, we need to explicitly
include it as a dependency of the doxygen job.

Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
---
 doc/api/meson.build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/doc/api/meson.build b/doc/api/meson.build
index 49d5b9a15..5b92c204f 100644
--- a/doc/api/meson.build
+++ b/doc/api/meson.build
@@ -44,6 +44,7 @@ doxy_conf = configure_file(input: 'doxy-api.conf.in',
 
 doxy_build = custom_target('doxygen',
 	depends: example,
+	depend_files: 'doxy-api-index.md',
 	input: doxy_conf,
 	output: 'api',
 	depfile: 'api.d',
-- 
2.25.1



More information about the dev mailing list