]> git.droids-corp.org - dpdk.git/blobdiff - doc/api/meson.build
net: add new header file for VXLAN
[dpdk.git] / doc / api / meson.build
index 30bdc573b5cfe2e1aebec31785a5ad14e791aeea..1c48b7672e39e0735a58e396e7c19e734ff1d7d1 100644 (file)
@@ -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,7 +48,7 @@ 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'))
 
        doc_targets += doxy_build
        doc_target_names += 'Doxygen_API'