X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=doc%2Fapi%2Fmeson.build;h=49d5b9a153e5b90bead4cd43f26246b9afbc74f5;hb=cd6760da1076;hp=899e930fa65f3febffbf68e02b21df76e8ae9e3d;hpb=499fe9dfcfc721f327b9f58a0f1d9d15eea6a8ee;p=dpdk.git diff --git a/doc/api/meson.build b/doc/api/meson.build index 899e930fa6..49d5b9a153 100644 --- a/doc/api/meson.build +++ b/doc/api/meson.build @@ -15,7 +15,7 @@ generate_doxygen = find_program('generate_doxygen.sh') generate_examples = find_program('generate_examples.sh') generate_css = find_program('doxy-html-custom.sh') -htmldir = join_paths('share', 'doc', 'dpdk') +htmldir = join_paths(get_option('datadir'), 'doc', 'dpdk') # 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 @@ -46,6 +46,7 @@ doxy_build = custom_target('doxygen', depends: example, input: doxy_conf, output: 'api', + depfile: 'api.d', command: [generate_doxygen, '@INPUT@', '@OUTPUT@', generate_css], install: get_option('enable_docs'), install_dir: htmldir,