doc: install guides and api docs to different directories
Checks
Commit Message
From: Luca Boccassi <bluca@debian.org>
Otherwise they both get installed to /usr/share/doc/dpdk/html/ and overwrite
each other's files
Signed-off-by: Luca Boccassi <bluca@debian.org>
---
doc/api/meson.build | 2 +-
doc/guides/meson.build | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Comments
On Mon, Dec 23, 2024 at 03:38:40PM +0000, luca.boccassi@gmail.com wrote:
> From: Luca Boccassi <bluca@debian.org>
>
> Otherwise they both get installed to /usr/share/doc/dpdk/html/ and overwrite
> each other's files
>
> Signed-off-by: Luca Boccassi <bluca@debian.org>
> ---
> doc/api/meson.build | 2 +-
> doc/guides/meson.build | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
@@ -14,7 +14,7 @@ endif
generate_doxygen = py3 + files('generate_doxygen.py')
generate_examples = py3 + files('generate_examples.py')
-htmldir = join_paths(get_option('datadir'), 'doc', 'dpdk')
+htmldir = join_paths(get_option('datadir'), 'doc', 'dpdk', 'api')
# due to the following bug: https://github.com/mesonbuild/meson/issues/4107
# if install is set to true it will override build_by_default and it will
@@ -12,7 +12,7 @@ if get_option('werror')
extra_sphinx_args += '-W'
endif
-htmldir = join_paths(get_option('datadir'), 'doc', 'dpdk')
+htmldir = join_paths(get_option('datadir'), 'doc', 'dpdk', 'guides')
html_guides = custom_target('html_guides',
input: files('index.rst'),
output: 'html',