aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/install_command.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/markdown/snippets/install_command.md b/docs/markdown/snippets/install_command.md
new file mode 100644
index 0000000..68866c9
--- /dev/null
+++ b/docs/markdown/snippets/install_command.md
@@ -0,0 +1,12 @@
+## Made install a top level Meson command
+
+You can now run `meson install` in your build directory and it will do
+the install. It has several command line options you can toggle the
+behaviour that is not in the default `ninja install` invocation. This
+is similar to how `meson test` already works.
+
+For example, to install only the files that have changed, you can do:
+
+```console
+meson install --only-changed
+```