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/Commands.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/markdown/Commands.md') diff --git a/docs/markdown/Commands.md b/docs/markdown/Commands.md index 3f3cf9f..ea68cc8 100644 --- a/docs/markdown/Commands.md +++ b/docs/markdown/Commands.md @@ -190,6 +190,9 @@ Install project to `$DESTDIR/prefix`: DESTDIR=/path/to/staging/area meson install -C builddir ``` +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. + ### rewrite *(since 0.50.0)* -- cgit v1.1