diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2021-08-03 10:31:56 -0400 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2021-08-04 09:43:41 -0400 |
commit | 9da99e7a59cafdb9746ccd0cc148e454f0fa8b44 (patch) | |
tree | 76973679da1c9aea0780115a73209de168fbf6e8 /docs/markdown/Installing.md | |
parent | 630a41eb815e2638b741cdbee42d9bb8509cd0a8 (diff) | |
download | meson-9da99e7a59cafdb9746ccd0cc148e454f0fa8b44.zip meson-9da99e7a59cafdb9746ccd0cc148e454f0fa8b44.tar.gz meson-9da99e7a59cafdb9746ccd0cc148e454f0fa8b44.tar.bz2 |
destdir: Allow relative to build directory
Meson already works like that, except in do_copydir() that requires
absolute destdir. Better explicitly support that instead of leaving it
undefined and unconsistent.
Diffstat (limited to 'docs/markdown/Installing.md')
-rw-r--r-- | docs/markdown/Installing.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/markdown/Installing.md b/docs/markdown/Installing.md index 0e5cb12..42c71f1 100644 --- a/docs/markdown/Installing.md +++ b/docs/markdown/Installing.md @@ -113,6 +113,12 @@ is used just like with other build systems: $ DESTDIR=/path/to/staging/area meson install ``` +Since *0.57.0* `--destdir` argument can be used instead of environment. In that +case Meson will set `DESTDIR` into environment when runing install scripts. + +Since *0.60.0* `DESTDIR` and `--destdir` can be a path relative to build +directory. An absolute path will be set into environment when executing scripts. + ## Custom install behaviour Installation behaviour can be further customized using additional |