summaryrefslogtreecommitdiffstats
path: root/doc/user/less-simple.in
diff options
context:
space:
mode:
Diffstat (limited to 'doc/user/less-simple.in')
-rw-r--r--doc/user/less-simple.in40
1 files changed, 22 insertions, 18 deletions
diff --git a/doc/user/less-simple.in b/doc/user/less-simple.in
index cf59319..23b585c 100644
--- a/doc/user/less-simple.in
+++ b/doc/user/less-simple.in
@@ -209,15 +209,19 @@
</section>
<section>
- <title>Making a list of files with Glob()</title>
+ <title>Making a list of files with &Glob;</title>
<para>
- You can also use the Glob() function to find all files matching a
- certain template, using standard the shell pattern matching
- characters *, ?, and [abc] to match any of a, b, or c. [!abc] is
- also supported, to match any character <emphasis>except</emphasis>
- a, b, or c. This makes many multi-source-file builds quite easy:
+ You can also use the &Glob; function to find all files matching a
+ certain template, using the standard shell pattern matching
+ characters <literal>*</literal>, <literal>?</literal>
+ and <literal>[abc]</literal> to match any of
+ <literal>a</literal>, <literal>b</literal> or <literal>c</literal>.
+ <literal>[!abc]</literal> is also supported,
+ to match any character <emphasis>except</emphasis>
+ <literal>a</literal>, <literal>b</literal> or <literal>c</literal>.
+ This makes many multi-source-file builds quite easy:
</para>
@@ -227,8 +231,8 @@
<para>
- The SCons man page has more details on using Glob() with Variant
- dirs and Repositories and returning strings rather than Nodes.
+ The SCons man page has more details on using &Glob; with Variant
+ directories and Repositories, and returning strings rather than Nodes.
</para>
@@ -388,8 +392,8 @@
</para>
<programlisting>
- list = Split('main.c file1.c file2.c')
- Program('program', list)
+ src_files = Split('main.c file1.c file2.c')
+ Program('program', src_files)
</programlisting>
<para>
@@ -404,10 +408,10 @@
</para>
<programlisting>
- list = Split("""main.c
- file1.c
- file2.c""")
- Program('program', list)
+ src_files = Split("""main.c
+ file1.c
+ file2.c""")
+ Program('program', src_files)
</programlisting>
<para>
@@ -440,8 +444,8 @@
</para>
<programlisting>
- list = Split('main.c file1.c file2.c')
- Program(target = 'program', source = list)
+ src_files = Split('main.c file1.c file2.c')
+ Program(target = 'program', source = src_files)
</programlisting>
<para>
@@ -453,8 +457,8 @@
</para>
<programlisting>
- list = Split('main.c file1.c file2.c')
- Program(source = list, target = 'program')
+ src_files = Split('main.c file1.c file2.c')
+ Program(source = src_files, target = 'program')
</programlisting>
<para>