diff options
Diffstat (limited to 'doc/manual.cli')
-rw-r--r-- | doc/manual.cli | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/doc/manual.cli b/doc/manual.cli index cf2ec3a..ba0aa63 100644 --- a/doc/manual.cli +++ b/doc/manual.cli @@ -3259,11 +3259,17 @@ h{config}: in{config} } \ -In case of a dependency chain, the block applies to the set of prerequisites -(note: \i{not targets}) before last \c{:}. For example: +In case of a dependency chain, if the chain ends with a colon (\c{:}), then +the block applies to the last set of prerequisites. Otherwise, it applies to +the last set of targets. For example: \ -./: exe{test}: libue{test}: cxx{test} +./: exe{test}: cxx{main} +{ + test = true # Applies to the exe{test} target. +} + +./: exe{test}: libue{test}: { bin.whole = false # Applies to the libue{test} prerequisite. } |