summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2011-08-27 01:25:57 (GMT)
committerPeter Collingbourne <peter@pcc.me.uk>2011-09-03 22:05:35 (GMT)
commit85740c2ddbb2aa0d523c997187442385a191fb64 (patch)
tree505687e9f44d3a0a1d29d979c1d51e555906fdc0 /doc
parent769bb7d69bfd4bd120732bc6807e6f03bacfac16 (diff)
downloadNinja-85740c2ddbb2aa0d523c997187442385a191fb64.zip
Ninja-85740c2ddbb2aa0d523c997187442385a191fb64.tar.gz
Ninja-85740c2ddbb2aa0d523c997187442385a191fb64.tar.bz2
Support for rebuilding and reloading manifest files
This introduces support for rebuilding the top-level manifest file using a provided build statement, and reloading it before building the user-requested targets.
Diffstat (limited to 'doc')
-rw-r--r--doc/manual.asciidoc4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/manual.asciidoc b/doc/manual.asciidoc
index 112aac5..8ab2195 100644
--- a/doc/manual.asciidoc
+++ b/doc/manual.asciidoc
@@ -253,6 +253,10 @@ statement to the rule (for example, if the rule needs "the file
extension of the first input"), pass that through as an extra
variable, like how `cflags` is passed above.
+If the top-level Ninja file is specified as an output of any build
+statement and it is out of date, Ninja will rebuild and reload it
+before building the targets requested by the user.
+
The `phony` rule
~~~~~~~~~~~~~~~~