diff options
author | Evan Martin <martine@danga.com> | 2011-09-06 19:52:22 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2011-09-06 19:52:22 (GMT) |
commit | 873abda30192cc644253dee5130e59c62233ee04 (patch) | |
tree | fdfbb0640f03c3c3176e8fd6c8e38d6ebf44b605 | |
parent | bccfd9fec302e14461ca1a7346f6709a5d85ecd6 (diff) | |
download | Ninja-873abda30192cc644253dee5130e59c62233ee04.zip Ninja-873abda30192cc644253dee5130e59c62233ee04.tar.gz Ninja-873abda30192cc644253dee5130e59c62233ee04.tar.bz2 |
don't use "all" in the phony example, because we now have "default"
-rw-r--r-- | doc/manual.asciidoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/manual.asciidoc b/doc/manual.asciidoc index 79e59c1..86afc09 100644 --- a/doc/manual.asciidoc +++ b/doc/manual.asciidoc @@ -264,10 +264,10 @@ The special rule name `phony` can be used to create aliases for other targets. For example: ---------------- -build all: phony some/file/in/a/faraway/subdir +build foo: phony some/file/in/a/faraway/subdir/foo ---------------- -This makes `ninja all` build the other files. Semantically, the +This makes `ninja foo` build the longer path. Semantically, the `phony` rule is equivalent to a plain rule where the `command` does nothing, but phony rules are handled specially in that they aren't printed when run, logged (see below), nor do they contribute to the |