docs: Fix deprecated use of implicit meson "setup" command

Use the explicit meson "setup" command instead of the deprecated
implicit invocation. The implied setup usage generates a warning with
meson version 1.0.1:

WARNING: Running the setup command as `meson [options]` instead of
`meson setup [options]` is ambiguous and deprecated.

Additionally the implicit command is likely to be confusing to those
unfamiliar with Meson - the `build` argument in `meson build` resembles
an action rather than an arbitrary path.

Signed-off-by: Tim Small <tim@seoss.co.uk>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Tim Small 2023-07-13 12:00:03 +01:00 committed by Michal Privoznik
parent 4d50cd23c9
commit ef7228f5ca

View File

@ -68,7 +68,7 @@ of the build directory which will be created.
::
$ meson build [options]
$ meson setup build [options]
To get the complete list of the options run the following command:
@ -83,7 +83,7 @@ normal OS vendor prefixes, use
::
$ meson build -Dsystem=true
$ meson setup build -Dsystem=true
Explicitly enabling required functionality
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@ -99,7 +99,7 @@ libvirt project with support for the **qemu** driver use the following options:
::
$ meson build -Dsystem=true -Ddriver_qemu=enabled
$ meson setup build -Dsystem=true -Ddriver_qemu=enabled
Notes:
~~~~~~