diff options
author | Charles Brunet <charles.brunet@optelgroup.com> | 2023-02-09 07:19:52 -0500 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2023-02-14 10:50:10 -0500 |
commit | 04f233a80d570c90c1a152114cbf3bdad6a61607 (patch) | |
tree | 3910652b33a1867f8ec1cf26f1c5a495a9d8320f /docs/markdown/snippets | |
parent | 70286a93b00868d705647dcbfbd82ab0822040e8 (diff) | |
download | meson-04f233a80d570c90c1a152114cbf3bdad6a61607.zip meson-04f233a80d570c90c1a152114cbf3bdad6a61607.tar.gz meson-04f233a80d570c90c1a152114cbf3bdad6a61607.tar.bz2 |
allow install script to run in dry-run mode
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/run_script_dry_run.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/markdown/snippets/run_script_dry_run.md b/docs/markdown/snippets/run_script_dry_run.md new file mode 100644 index 0000000..aee32c7 --- /dev/null +++ b/docs/markdown/snippets/run_script_dry_run.md @@ -0,0 +1,8 @@ +## Allow custom install scripts to run with `--dry-run` option + +An new `dry_run` keyword is added to `meson.add_install_script()` +to allow a custom install script to run when meson is invoked +with `meson install --dry-run`. + +In dry run mode, the `MESON_INSTALL_DRY_RUN` environment variable +is set. |