summaryrefslogtreecommitdiffstats
path: root/doc/manual.asciidoc
diff options
context:
space:
mode:
authorScott Graham <scottmg@chromium.org>2012-06-15 21:48:43 (GMT)
committerScott Graham <scottmg@chromium.org>2012-06-15 21:48:43 (GMT)
commite0dd93a2586d20ca261e7a028dff01ac6100c4ad (patch)
tree70fd10fabac051b74290fd28ba093e9c795b2a0d /doc/manual.asciidoc
parent28d20bc0962afa1fec25a00622e30e88b7f681fe (diff)
downloadNinja-e0dd93a2586d20ca261e7a028dff01ac6100c4ad.zip
Ninja-e0dd93a2586d20ca261e7a028dff01ac6100c4ad.tar.gz
Ninja-e0dd93a2586d20ca261e7a028dff01ac6100c4ad.tar.bz2
add $in_newline
Diffstat (limited to 'doc/manual.asciidoc')
-rw-r--r--doc/manual.asciidoc7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/manual.asciidoc b/doc/manual.asciidoc
index 5de9638..e7983be 100644
--- a/doc/manual.asciidoc
+++ b/doc/manual.asciidoc
@@ -359,9 +359,12 @@ command to run. (In the context of a rule, the `command` variable is
special and defines the command to run. A full list of special
variables is provided in <<ref_rule,the reference>>.)
-Within the context of a rule, two additional special variables are
+Within the context of a rule, three additional special variables are
available: `$in` expands to the list of input files (`foo.c`) and
-`$out` to the output file (`foo.o`) for the command.
+`$out` to the output file (`foo.o`) for the command. For use with
+`$rspfile_content`, there is also `$in_newline`, which is the same as
+`$in`, except that multiple inputs are separated by `\n`, rather than
+spaces.
Build statements