From 04f233a80d570c90c1a152114cbf3bdad6a61607 Mon Sep 17 00:00:00 2001 From: Charles Brunet Date: Thu, 9 Feb 2023 07:19:52 -0500 Subject: allow install script to run in dry-run mode --- docs/markdown/snippets/run_script_dry_run.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 docs/markdown/snippets/run_script_dry_run.md (limited to 'docs/markdown') 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. -- cgit v1.1