From 07b5fecb22ea478930e5e02daef96766625ae459 Mon Sep 17 00:00:00 2001 From: Mats Wichmann Date: Thu, 25 Jun 2020 06:32:12 -0600 Subject: [PR #3713] tweak manpage per review comments Signed-off-by: Mats Wichmann --- doc/man/scons.xml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/doc/man/scons.xml b/doc/man/scons.xml index 7a12f3f..7b083f0 100644 --- a/doc/man/scons.xml +++ b/doc/man/scons.xml @@ -5443,7 +5443,7 @@ for each element in the list. If an element within the list is itself a list, -the internal list taken as the +the internal list is taken as the command and arguments to be executed via the command line. This allows white space to be enclosed @@ -5514,7 +5514,8 @@ will expand &consvars; in any argument strings, including the action argument, at the time it is called, using the construction variables in the &consenv; through which it was called. The global function form &f-link-Action; -delays variable expansion until the Action object is actually used. +delays variable expansion until +the Action object is actually used. The second argument to &f-Action; @@ -5937,9 +5938,16 @@ Examples: Execute(Delete('/tmp/buildroot')) -env.Command('foo.out', 'foo.in', [Delete('${TARGET.dir}'), MyBuildAction]) +env.Command( + 'foo.out', + 'foo.in', + action=[ + Delete('${TARGET.dir}'), + MyBuildAction, + ], +) -Execute(Delete('file_that_must_exist', must_exist=1)) +Execute(Delete('file_that_must_exist', must_exist=True)) -- cgit v0.12