[PATCH] doc: avoid meson deprecation in setup

Bruce Richardson bruce.richardson at intel.com
Tue Nov 15 18:38:34 CET 2022


On Tue, Nov 15, 2022 at 09:35:16AM -0800, Stephen Hemminger wrote:
> The command "meson build" causes a deprecation warning with meson 0.64.0.
>                                                                                 WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
> 
> Therefore fix the examples in the documentation.
> 
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> ---
>  doc/guides/cryptodevs/armv8.rst                  |  2 +-
>  doc/guides/cryptodevs/uadk.rst                   |  2 +-
>  doc/guides/freebsd_gsg/build_dpdk.rst            |  2 +-
>  doc/guides/gpus/cuda.rst                         |  4 ++--
>  doc/guides/howto/openwrt.rst                     |  4 ++--
>  doc/guides/nics/ark.rst                          |  2 +-
>  doc/guides/nics/mvneta.rst                       |  2 +-
>  doc/guides/nics/mvpp2.rst                        |  2 +-
>  doc/guides/platform/bluefield.rst                |  4 ++--
>  doc/guides/platform/cnxk.rst                     |  4 ++--
>  doc/guides/platform/octeontx.rst                 |  8 ++++----
>  doc/guides/prog_guide/build-sdk-meson.rst        |  4 ++--
>  doc/guides/prog_guide/lto.rst                    |  2 +-
>  doc/guides/prog_guide/profile_app.rst            |  2 +-
>  doc/guides/sample_app_ug/vm_power_management.rst | 14 ++++++--------
>  15 files changed, 28 insertions(+), 30 deletions(-)
> 
Acked-by: Bruce Richardson <bruce.richardson at intel.com>

The fact that this needs to be changed in so many places is indicative that
we need some cleanup in the docs - but then again, we knew that already!
:-)


More information about the dev mailing list