doc: fix warning with meson
authorBruce Richardson <bruce.richardson@intel.com>
Fri, 10 Jan 2020 21:52:02 +0000 (21:52 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 15 Jan 2020 07:50:28 +0000 (08:50 +0100)
The install parameter to configure_file is new in 0.50 and generates a
warning since it is newer than our minimum version of 0.47.1. The
parameter, however, is unneeded as the documentation states:

"When omitted it defaults to true when install_dir is set and not empty,
false otherwise."

Given that install_dir is not set for this file, install defaults to false
so no need to explicitly specify it.

Fixes: 720b14db3ae2 ("build: generate API documentation with meson")
Cc: stable@dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Aaron Conole <aconole@redhat.com>
Acked-by: Luca Boccassi <bluca@debian.org>
doc/api/meson.build

index 1c48b76..23a7dfc 100644 (file)
@@ -38,8 +38,7 @@ if doxygen.found()
 
        doxy_conf = configure_file(input: 'doxy-api.conf.in',
                output: 'doxy-api.conf',
-               configuration: cdata,
-               install: false)
+               configuration: cdata)
 
        doxy_build = custom_target('doxygen',
                depends: example,