diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2018-05-22 21:09:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-22 21:09:19 +0300 |
commit | 55a0831bc3d00d642197bc0755191c9fe1ef2ac7 (patch) | |
tree | 777e890608ff9422700c4679587c7e2dc0b7dc21 /docs/markdown/snippets | |
parent | 9ecd92c6fedd052f4115683726a5cc6ebaa33e85 (diff) | |
parent | 4b9393e165c4521351f6fdfd8179997016bd84a8 (diff) | |
download | meson-55a0831bc3d00d642197bc0755191c9fe1ef2ac7.zip meson-55a0831bc3d00d642197bc0755191c9fe1ef2ac7.tar.gz meson-55a0831bc3d00d642197bc0755191c9fe1ef2ac7.tar.bz2 |
Merge pull request #3383 from mesonbuild/nirbheek/configure-file-nodata
configure_file: Add a new action 'copy'
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/configure_file_copy.md | 10 |
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. |