diff options
Diffstat (limited to 'manual.asciidoc')
-rw-r--r-- | manual.asciidoc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/manual.asciidoc b/manual.asciidoc index 53d6416..7ea3da8 100644 --- a/manual.asciidoc +++ b/manual.asciidoc @@ -330,6 +330,17 @@ than the _depth_ mode. It returns non-zero if an error occurs. one. It can be used to know which rule name to pass to +ninja -t targets rule _name_+. +`clean`:: remove built files. If used like this +ninja -t clean+ it +removes all the built files. If used like this ++ninja -t clean _targets..._+ or like this ++ninja -t clean target _targets..._+ it removes the given targets and +recursively all files built for it. If used like this ++ninja -t clean rule _rules_+ it removes all files built using the given +rules. The depfiles are not removed. Files created but not referenced in +the graph are not removed. This tool takes in account the +-v+ and the ++-n+ options (note that +-n+ implies +-v+). It returns non-zero if an +error occurs. + Ninja file reference -------------------- |