aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2018-05-22 02:33:18 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2018-05-22 02:37:07 +0530
commit4b9393e165c4521351f6fdfd8179997016bd84a8 (patch)
tree44eda5c28c9d1c505b15b8033c147a3f224533fa /docs/markdown/snippets
parentf5af0f9b5ab4b35a46ef2a700d4815d2aa4b8096 (diff)
downloadmeson-4b9393e165c4521351f6fdfd8179997016bd84a8.zip
meson-4b9393e165c4521351f6fdfd8179997016bd84a8.tar.gz
meson-4b9393e165c4521351f6fdfd8179997016bd84a8.tar.bz2
docs: Add manual entry for configure_file copy kwarg
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/configure_file_copy.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/markdown/snippets/configure_file_copy.md b/docs/markdown/snippets/configure_file_copy.md
new file mode 100644
index 0000000..fee04e4
--- /dev/null
+++ b/docs/markdown/snippets/configure_file_copy.md
@@ -0,0 +1,10 @@
+## New action 'copy' for configure_file()
+
+In addition to `configuration:` and `command:`,
+[`configure_file()`](#Reference-manual.md#configure_file) now accepts a keyword
+argument `copy:` which specifies a new action: copying the file specified with
+the `input:` keyword argument to a file in the build directory with the name
+specified with the `output:` keyword argument.
+
+These three keyword arguments are, as before, mutually exclusive. You can only
+do one action at a time.