doc: add doxygen index file to dependencies

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@intel.com>
This commit is contained in:
Bruce Richardson 2020-09-01 15:51:27 +01:00 committed by Thomas Monjalon
parent 1509ef9350
commit 10044a8e01

View File

@ -48,6 +48,7 @@ doxy_conf = configure_file(input: 'doxy-api.conf.in',
doxy_build = custom_target('doxygen', doxy_build = custom_target('doxygen',
depends: example, depends: example,
depend_files: 'doxy-api-index.md',
input: doxy_conf, input: doxy_conf,
output: 'html', output: 'html',
depfile: 'html.d', depfile: 'html.d',