aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-06-03 21:29:01 +0300
committerGitHub <noreply@github.com>2017-06-03 21:29:01 +0300
commit3f6c55b9b3ac5a19d30cf2b5a33af906c5885cf0 (patch)
treebd932935cba186808024ced12678333f5f1a5708 /docs/markdown
parent4828b46b73c0e4874634be0439a1653144e4e0e7 (diff)
parent706b3cafab114e8d7ff7306cb471259ae1597e04 (diff)
downloadmeson-3f6c55b9b3ac5a19d30cf2b5a33af906c5885cf0.zip
meson-3f6c55b9b3ac5a19d30cf2b5a33af906c5885cf0.tar.gz
meson-3f6c55b9b3ac5a19d30cf2b5a33af906c5885cf0.tar.bz2
Merge pull request #1857 from aradi/configure-subsval
Configure subsval
Diffstat (limited to 'docs/markdown')
-rw-r--r--docs/markdown/Reference-manual.md2
-rw-r--r--docs/markdown/Release-notes-for-0.41.0.md4
2 files changed, 5 insertions, 1 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md
index fab317d..29c073c 100644
--- a/docs/markdown/Reference-manual.md
+++ b/docs/markdown/Reference-manual.md
@@ -124,7 +124,7 @@ When a list of strings is passed to the `command:` keyword argument, it takes an
These are all the supported keyword arguments:
- `input` the input file name. If it's not specified in configuration mode, all the variables in the `configuration:` object (see above) are written to the `output:` file.
-- `output` the output file name. In configuration mode, the permissions of the input file (if it is specified) are copied to the output file.
+- `output` the output file name (since v0.41.0, may contain `@PLAINNAME@` or `@BASENAME@` substitutions). In configuration mode, the permissions of the input file (if it is specified) are copied to the output file.
- `configuration` as explained above, this is where you pass the configuration data object as returned by `configuration_data()`
- `command` as explained above, if specified, Meson does not create the file itself but rather runs the specified command, which allows you to do fully custom file generation
- `install_dir` the subdirectory to install the generated file to (e.g. `share/myproject`), if omitted the file is not installed.
diff --git a/docs/markdown/Release-notes-for-0.41.0.md b/docs/markdown/Release-notes-for-0.41.0.md
index 80bf0b3..f995cc5 100644
--- a/docs/markdown/Release-notes-for-0.41.0.md
+++ b/docs/markdown/Release-notes-for-0.41.0.md
@@ -67,3 +67,7 @@ coverage must be combined before producing a report (`coverage3 combine`.)
All known issues have been fixed and Meson can now build reproducible Debian
packages out of the box.
+## Extended template substitution in configure_file
+
+The output argument of `configure_file()` is parsed for @BASENAME@ and
+@PLAINNAME@ substitutions.