doc: add index file to doxygen dependencies
diff mbox series

Message ID 20200901145127.553850-1-bruce.richardson@intel.com
State Accepted
Delegated to: Thomas Monjalon
Headers show
Series
  • doc: add index file to doxygen dependencies
Related show

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK
ci/travis-robot success Travis build: passed

Commit Message

Bruce Richardson Sept. 1, 2020, 2:51 p.m. UTC
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 | 1 +
 1 file changed, 1 insertion(+)

Comments

Thomas Monjalon Oct. 5, 2020, 10:08 p.m. UTC | #1
> 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>

Applied, thanks

Patch
diff mbox series

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',