doc: strip build artefacts for examples file list
examples.dox is built inside builddir/doc/api and so doxygen generates
some dir_HASH.html that includes the builddir name and this may prevent
DPDK documentation to be correctly generated in some distributions, for
example CentOS Stream 9 and RHEL9, since the builddir includes the
architecture.
This commit adds builddir/doc/api (the path where examples.dox is
generated) to STRIP_FROM_PATH, so the generated documentation doesn't
change if builddir changes.
Fixes: a6090630f4
("doc: automate examples file list for API")
Cc: stable@dpdk.org
Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
Acked-by: Luca Boccassi <bluca@debian.org>
Tested-by: David Marchand <david.marchand@redhat.com>
This commit is contained in:
parent
c0b48da45c
commit
92eb2c3465
@ -36,7 +36,7 @@ cdata.set('API_EXAMPLES', join_paths(meson.build_root(), 'doc', 'api', 'examples
|
||||
cdata.set('OUTPUT', join_paths(meson.build_root(), 'doc', 'api'))
|
||||
cdata.set('HTML_OUTPUT', 'html')
|
||||
cdata.set('TOPDIR', meson.source_root())
|
||||
cdata.set('STRIP_FROM_PATH', meson.source_root())
|
||||
cdata.set('STRIP_FROM_PATH', ' '.join([meson.source_root(), join_paths(meson.build_root(), 'doc', 'api')]))
|
||||
cdata.set('WARN_AS_ERROR', 'NO')
|
||||
if get_option('werror')
|
||||
cdata.set('WARN_AS_ERROR', 'YES')
|
||||
|
Loading…
Reference in New Issue
Block a user