summaryrefslogtreecommitdiffstats
path: root/doc/user/command-line.xml
diff options
context:
space:
mode:
authorDirk Baechle <dl9obn@darc.de>2013-10-06 16:48:36 (GMT)
committerDirk Baechle <dl9obn@darc.de>2013-10-06 16:48:36 (GMT)
commita177bfae9c77a166aba93a8c0c4ab4cfc9012e71 (patch)
tree966f7b0c946e86bdb426f492d359997698b1d80b /doc/user/command-line.xml
parente2d8d87c5911067374d0b3b5be562c4ce2dddcce (diff)
downloadSCons-a177bfae9c77a166aba93a8c0c4ab4cfc9012e71.zip
SCons-a177bfae9c77a166aba93a8c0c4ab4cfc9012e71.tar.gz
SCons-a177bfae9c77a166aba93a8c0c4ab4cfc9012e71.tar.bz2
- additional corrections for left alignment
Diffstat (limited to 'doc/user/command-line.xml')
-rw-r--r--doc/user/command-line.xml44
1 files changed, 22 insertions, 22 deletions
diff --git a/doc/user/command-line.xml b/doc/user/command-line.xml
index d2e4146..f410b3e 100644
--- a/doc/user/command-line.xml
+++ b/doc/user/command-line.xml
@@ -628,21 +628,21 @@ foo.in
<scons_example name="commandline_AddOption">
<file name="SConstruct" printme="1">
- AddOption('--prefix',
- dest='prefix',
- type='string',
- nargs=1,
- action='store',
- metavar='DIR',
- help='installation prefix')
-
- env = Environment(PREFIX = GetOption('prefix'))
-
- installed_foo = env.Install('$PREFIX/usr/bin', 'foo.in')
- Default(installed_foo)
+AddOption('--prefix',
+ dest='prefix',
+ type='string',
+ nargs=1,
+ action='store',
+ metavar='DIR',
+ help='installation prefix')
+
+env = Environment(PREFIX = GetOption('prefix'))
+
+installed_foo = env.Install('$PREFIX/usr/bin', 'foo.in')
+Default(installed_foo)
</file>
<file name="foo.in">
- foo.in
+foo.in
</file>
</scons_example>
@@ -1092,21 +1092,21 @@ RELEASE = 1
<scons_example name="commandline_Variables_custom_py_2">
<file name="SConstruct">
- vars = Variables('custom.py')
- vars.Add('RELEASE', 'Set to 1 to build for release', 0)
- env = Environment(variables = vars,
- CPPDEFINES={'RELEASE_BUILD' : '${RELEASE}'})
- env.Program(['foo.c', 'bar.c'])
- Help(vars.GenerateHelpText(env))
+ vars = Variables('custom.py')
+ vars.Add('RELEASE', 'Set to 1 to build for release', 0)
+ env = Environment(variables = vars,
+ CPPDEFINES={'RELEASE_BUILD' : '${RELEASE}'})
+ env.Program(['foo.c', 'bar.c'])
+ Help(vars.GenerateHelpText(env))
</file>
<file name="foo.c">
- foo.c
+foo.c
</file>
<file name="bar.c">
- bar.c
+bar.c
</file>
<file name="custom.py" printme="1">
- RELEASE = 0
+RELEASE = 0
</file>
</scons_example>