net/iavf: enable AVX512 for flexible Rx
[dpdk.git] / doc / api / meson.build
index e9b49f9..dfdefdc 100644 (file)
@@ -37,6 +37,10 @@ cdata.set('OUTPUT', join_paths(meson.build_root(), 'doc', 'api'))
 cdata.set('HTML_OUTPUT', 'html')
 cdata.set('TOPDIR', meson.source_root())
 cdata.set('STRIP_FROM_PATH', meson.source_root())
+cdata.set('WARN_AS_ERROR', 'NO')
+if get_option('werror')
+       cdata.set('WARN_AS_ERROR', 'YES')
+endif
 
 doxy_conf = configure_file(input: 'doxy-api.conf.in',
        output: 'doxy-api.conf',
@@ -44,6 +48,7 @@ doxy_conf = configure_file(input: 'doxy-api.conf.in',
 
 doxy_build = custom_target('doxygen',
        depends: example,
+       depend_files: 'doxy-api-index.md',
        input: doxy_conf,
        output: 'html',
        depfile: 'html.d',