diff options
author | tycho garen <garen@tychoish.com> | 2012-04-24 02:26:35 (GMT) |
---|---|---|
committer | tycho garen <garen@tychoish.com> | 2012-04-24 02:26:35 (GMT) |
commit | 0e34c422a20bbf140e122d468127d56060051c5f (patch) | |
tree | d260225f2cde6c12a42a4defcd7c0c9a1411204e | |
parent | 16cab01cccf0b3ccadb150cd54f760929b3cc07e (diff) | |
download | Ninja-0e34c422a20bbf140e122d468127d56060051c5f.zip Ninja-0e34c422a20bbf140e122d468127d56060051c5f.tar.gz Ninja-0e34c422a20bbf140e122d468127d56060051c5f.tar.bz2 |
docs: clarifying that there can be only one command per rule
-rw-r--r-- | doc/manual.asciidoc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/manual.asciidoc b/doc/manual.asciidoc index a330095..b2046aa 100644 --- a/doc/manual.asciidoc +++ b/doc/manual.asciidoc @@ -460,7 +460,9 @@ keys. `command` (_required_):: the command line to run. This string (after $variables are expanded) is passed directly to `sh -c` without - interpretation by Ninja. + interpretation by Ninja. Each `rule` may have only one `command` + declaration. To specify multiple commands use `&&` (or similar) to + concatenate operations. `depfile`:: path to an optional `Makefile` that contains extra _implicit dependencies_ (see <<ref_dependencies,the reference on |