X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=doc%2Fapi%2Fmeson.build;h=1c48b7672e39e0735a58e396e7c19e734ff1d7d1;hb=6cb99ee85334332cf87e341d2c273fcbca795e71;hp=13fcbb8cd720b4b9fe28b24d84cd9e880090d9b6;hpb=720b14db3ae282d6db25558e6c295886c68a9d93;p=dpdk.git diff --git a/doc/api/meson.build b/doc/api/meson.build index 13fcbb8cd7..1c48b7672e 100644 --- a/doc/api/meson.build +++ b/doc/api/meson.build @@ -26,7 +26,7 @@ if doxygen.found() command: [generate_examples, '@INPUT@', '@OUTPUT@'], install: get_option('enable_docs'), install_dir: htmldir, - build_by_default: false) + build_by_default: get_option('enable_docs')) cdata = configuration_data() cdata.set('VERSION', meson.project_version()) @@ -48,9 +48,8 @@ if doxygen.found() command: [generate_doxygen, '@INPUT@', '@OUTPUT@', generate_css], install: get_option('enable_docs'), install_dir: htmldir, - build_by_default: false) + build_by_default: get_option('enable_docs')) - run_target('doc', command: 'true', depends: doxy_build) -else - run_target('doc', command: ['echo', 'doxygen', 'not', 'found']) + doc_targets += doxy_build + doc_target_names += 'Doxygen_API' endif