doc: strip build artefacts for examples file list
authorTimothy Redaelli <tredaelli@redhat.com>
Tue, 23 Nov 2021 14:48:42 +0000 (15:48 +0100)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 24 Nov 2021 14:11:42 +0000 (15:11 +0100)
commit92eb2c3465439dad4d7aa4f073df517de1817ed9
treee513184f459148d2b05ab359804c45eef59dde9f
parentc0b48da45c151987f660b897c247132dac81021f
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: a6090630f4e5 ("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>
doc/api/meson.build