aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/destdir.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/markdown/snippets/destdir.md b/docs/markdown/snippets/destdir.md
new file mode 100644
index 0000000..d8cf55d
--- /dev/null
+++ b/docs/markdown/snippets/destdir.md
@@ -0,0 +1,11 @@
+## Specify DESTDIR on command line
+
+`meson install` command now has `--destdir` argument that overrides DESTDIR
+from environment.
+
+## Skip install scripts if DESTDIR is set
+
+`meson.add_install_script()` now has `skip_if_destdir` keyword argument. If set
+to `true` the script won't be run if DESTDIR is set during installation. This is
+useful in the case the script updates system wide cache that is only needed when
+copying files into final destination.