From: Luca Boccassi <bl...@debian.org>

Otherwise they both get installed to /usr/share/doc/dpdk/html/ and overwrite
each other's files

Signed-off-by: Luca Boccassi <bl...@debian.org>
---
 doc/api/meson.build    | 2 +-
 doc/guides/meson.build | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/api/meson.build b/doc/api/meson.build
index 9b66dce4f3..23ed5bf263 100644
--- a/doc/api/meson.build
+++ b/doc/api/meson.build
@@ -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
diff --git a/doc/guides/meson.build b/doc/guides/meson.build
index 04bfbd1326..8c75beb1c1 100644
--- a/doc/guides/meson.build
+++ b/doc/guides/meson.build
@@ -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',
-- 
2.45.2

Reply via email to