summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorNixon Enraght-Moony <nixon.emoony@gmail.com>2021-01-29 18:34:58 (GMT)
committerGitHub <noreply@github.com>2021-01-29 18:34:58 (GMT)
commit942a523a7336da410e74fe5f72015fbc5ae2067a (patch)
tree49863170de6096e9a189b4d8af281db62975fd48 /doc
parent9216c31f29a0aabea09fe2f5120b563dc6e8c93e (diff)
downloadNinja-942a523a7336da410e74fe5f72015fbc5ae2067a.zip
Ninja-942a523a7336da410e74fe5f72015fbc5ae2067a.tar.gz
Ninja-942a523a7336da410e74fe5f72015fbc5ae2067a.tar.bz2
Clarify purpose for implicit dependencies
Diffstat (limited to 'doc')
-rw-r--r--doc/manual.asciidoc5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/manual.asciidoc b/doc/manual.asciidoc
index e1ae083..8fd5d86 100644
--- a/doc/manual.asciidoc
+++ b/doc/manual.asciidoc
@@ -949,8 +949,9 @@ source file of a compile command.
+
This is for expressing dependencies that don't show up on the
command line of the command; for example, for a rule that runs a
-script, the script itself should be an implicit dependency, as
-changes to the script should cause the output to rebuild.
+script that reads a hardcoded file, the hardcoded file should
+be an implicit dependency, as changes to the file should cause
+the output to rebuild, even though it doesn't show up in the arguments.
+
Note that dependencies as loaded through depfiles have slightly different
semantics, as described in the <<ref_rule,rule reference>>.