Skip to content

Commit

Permalink
fix doc builds
Browse files Browse the repository at this point in the history
Signed-off-by: Keith Wiles <[email protected]>
  • Loading branch information
KeithWiles authored and pktgen committed Dec 27, 2024
1 parent cc55ce1 commit 3094c5f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/api/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,19 @@ htmldir = join_paths(get_option('datadir'), 'doc', 'dpdk')
# So use a configure option for now.
example = custom_target('examples.dox',
output: 'examples.dox',
command: [generate_examples, join_paths(meson.source_root(), 'examples'), '@OUTPUT@'],
command: [generate_examples, join_paths(meson.project_source_root(), 'examples'), '@OUTPUT@'],
depfile: 'examples.dox.d',
install: get_option('enable_docs'),
install_dir: htmldir,
build_by_default: get_option('enable_docs'))

cdata = configuration_data()
cdata.set('VERSION', meson.project_version())
cdata.set('API_EXAMPLES', join_paths(meson.build_root(), 'doc', 'api', 'examples.dox'))
cdata.set('OUTPUT', join_paths(meson.build_root(), 'doc', 'api'))
cdata.set('API_EXAMPLES', join_paths(meson.project_build_root(), 'doc', 'api', 'examples.dox'))
cdata.set('OUTPUT', join_paths(meson.project_build_root(), 'doc', 'api'))
cdata.set('HTML_OUTPUT', 'api')
cdata.set('TOPDIR', meson.source_root())
cdata.set('STRIP_FROM_PATH', meson.source_root())
cdata.set('TOPDIR', meson.project_source_root())
cdata.set('STRIP_FROM_PATH', meson.project_source_root())

doxy_conf = configure_file(input: 'doxy-api.conf.in',
output: 'doxy-api.conf',
Expand Down

0 comments on commit 3094c5f

Please sign in to comment.