summaryrefslogtreecommitdiff
path: root/doc/user/builders-commands.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/user/builders-commands.xml')
-rw-r--r--doc/user/builders-commands.xml20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/user/builders-commands.xml b/doc/user/builders-commands.xml
index 52e98c87..d496ef11 100644
--- a/doc/user/builders-commands.xml
+++ b/doc/user/builders-commands.xml
@@ -93,11 +93,11 @@
<scons_example name="builderscommands_ex1">
<file name="SConstruct" printme="1">
- env = Environment()
- env.Command('foo.out', 'foo.in', "sed 's/x/y/' &lt; $SOURCE > $TARGET")
+env = Environment()
+env.Command('foo.out', 'foo.in', "sed 's/x/y/' &lt; $SOURCE > $TARGET")
</file>
<file name="foo.in">
- foo.in
+foo.in
</file>
</scons_example>
@@ -133,14 +133,14 @@
<scons_example name="builderscommands_ex2">
<file name="SConstruct" printme="1">
- env = Environment()
- def build(target, source, env):
- # Whatever it takes to build
- return None
- env.Command('foo.out', 'foo.in', build)
+env = Environment()
+def build(target, source, env):
+ # Whatever it takes to build
+ return None
+env.Command('foo.out', 'foo.in', build)
</file>
<file name="foo.in">
- foo.in
+foo.in
</file>
</scons_example>
@@ -164,7 +164,7 @@
<scons_example name="builderscommands_ex3">
<file name="SConstruct" printme="1">
- env.Command('${SOURCE.basename}.out', 'foo.in', build)
+env.Command('${SOURCE.basename}.out', 'foo.in', build)
</file>
</scons_example>