aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Installing.md
diff options
context:
space:
mode:
authorTheQwertiest <qwertiest@mail.ru>2020-06-15 18:36:08 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2020-06-18 17:47:10 +0300
commit96609da8d26fc05be8845c1edf05c8aa38af047d (patch)
treeb5e5dfdf414d9f9efac2c0743cc211082ef34498 /docs/markdown/Installing.md
parente191cbf6e990caa0e912996977584909aab21da8 (diff)
downloadmeson-96609da8d26fc05be8845c1edf05c8aa38af047d.zip
meson-96609da8d26fc05be8845c1edf05c8aa38af047d.tar.gz
meson-96609da8d26fc05be8845c1edf05c8aa38af047d.tar.bz2
docs: replaced `ninja` with appropriate `meson` commands [skip ci]
Diffstat (limited to 'docs/markdown/Installing.md')
-rw-r--r--docs/markdown/Installing.md20
1 files changed, 15 insertions, 5 deletions
diff --git a/docs/markdown/Installing.md b/docs/markdown/Installing.md
index 5abfdd4..9dc2ad4 100644
--- a/docs/markdown/Installing.md
+++ b/docs/markdown/Installing.md
@@ -4,6 +4,18 @@ short-description: Installing targets
# Installing
+Invoked via the [following command](Commands.md#install) *(available since 0.47.0)*:
+
+```sh
+meson install
+```
+
+or alternatively (on older meson versions with `ninja` backend):
+
+```sh
+ninja install
+```
+
By default Meson will not install anything. Build targets can be
installed by tagging them as installable in the definition.
@@ -97,15 +109,13 @@ packages. This is done with the `DESTDIR` environment variable and it
is used just like with other build systems:
```console
-$ DESTDIR=/path/to/staging/area ninja install
+$ DESTDIR=/path/to/staging/area meson install
```
## Custom install behaviour
-The default install target (executed via, e.g., `ninja install`) does
-installing with reasonable default options. More control over the
-install behaviour can be achieved with the `meson install` command,
-that has been available since 0.47.0.
+Installation behaviour can be further customized using
+additional arguments.
For example, if you wish to install the current setup without
rebuilding the code (which the default install target always does) and