doc: add doxygen index file to dependencies
authorBruce Richardson <bruce.richardson@intel.com>
Tue, 1 Sep 2020 14:51:27 +0000 (15:51 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 5 Oct 2020 22:27:04 +0000 (00:27 +0200)
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>
doc/api/meson.build

index 4f51f5d..dfdefdc 100644 (file)
@@ -48,6 +48,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: 'html',
        depfile: 'html.d',