From 9da99e7a59cafdb9746ccd0cc148e454f0fa8b44 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 3 Aug 2021 10:31:56 -0400 Subject: 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. --- docs/markdown/Installing.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/markdown/Installing.md') 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 -- cgit v1.1