From 202fdd64c869eb7e1d6084a10fe93f164aa4cedb Mon Sep 17 00:00:00 2001 From: Evan Martin Date: Wed, 16 Dec 2015 08:44:23 -0800 Subject: add a section to the manual discussing the command= variable This includes a mention of using cmd /c on Windows. This would have helped on issue #1070 for example. --- doc/manual.asciidoc | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/doc/manual.asciidoc b/doc/manual.asciidoc index 003c71e..4d0727e 100644 --- a/doc/manual.asciidoc +++ b/doc/manual.asciidoc @@ -778,11 +778,9 @@ A `rule` block contains a list of `key = value` declarations that affect the processing of the rule. Here is a full list of special keys. -`command` (_required_):: the command line to run. This string (after - $variables are expanded) is passed directly to `sh -c` without - interpretation by Ninja. Each `rule` may have only one `command` - declaration. To specify multiple commands use `&&` (or similar) to - concatenate operations. +`command` (_required_):: the command line to run. Each `rule` may + have only one `command` declaration. See <> for more details on quoting and executing multiple commands. `depfile`:: path to an optional `Makefile` that contains extra _implicit dependencies_ (see <