mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
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:
parent
4d50cd23c9
commit
ef7228f5ca
@ -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:
|
||||
~~~~~~
|
||||
|
Loading…
x
Reference in New Issue
Block a user