aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBálint Aradi <baradi09@gmail.com>2017-06-02 21:09:11 +0200
committerBálint Aradi <baradi09@gmail.com>2017-06-03 16:51:58 +0200
commit28dededf083b6cae170a175309d064502fcc9eef (patch)
tree9b10d3b73e649593ce99fea5246fb2d028ab1385
parente79b602298ca3810c4ee0c99a23ae3ae50c879b3 (diff)
downloadmeson-28dededf083b6cae170a175309d064502fcc9eef.zip
meson-28dededf083b6cae170a175309d064502fcc9eef.tar.gz
meson-28dededf083b6cae170a175309d064502fcc9eef.tar.bz2
Update reference manual and release notes
-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..4c2f8ef 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 (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.