summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2001-09-10 20:30:28 (GMT)
committerSteven Knight <knight@baldmt.com>2001-09-10 20:30:28 (GMT)
commit5baa0ff42fc922008a0a148bef7da73b09f0dfbd (patch)
tree0e1da490107e63248230a0084eb1546d37b06872 /doc
parent528c2bf71dd1d45f158f15b015a382dbac7a34df (diff)
downloadSCons-5baa0ff42fc922008a0a148bef7da73b09f0dfbd.zip
SCons-5baa0ff42fc922008a0a148bef7da73b09f0dfbd.tar.gz
SCons-5baa0ff42fc922008a0a148bef7da73b09f0dfbd.tar.bz2
Look for SConstruct, Sconstruct, and sconstruct files.
Diffstat (limited to 'doc')
-rw-r--r--doc/design/native.sgml8
-rw-r--r--doc/man/desc.sgml13
-rw-r--r--doc/man/options.sgml12
-rw-r--r--doc/scons.mod2
4 files changed, 21 insertions, 14 deletions
diff --git a/doc/design/native.sgml b/doc/design/native.sgml
index c9fd4bf..e2a756c 100644
--- a/doc/design/native.sgml
+++ b/doc/design/native.sgml
@@ -32,9 +32,11 @@
<para>
- By default, the &SCons; utility reads a configuration file named
- &SConstruct; in the current directory. A <option>-f</option>
- command-line option exists to read a different file name.
+ By default, the &SCons; utility searches for a file named
+ &SConstruct;, &Sconstruct; or &sconstruct (in that order) in the
+ current directory, and reads its configuration from the first file
+ found. A <option>-f</option> command-line option exists to read a
+ different file name.
</para>
diff --git a/doc/man/desc.sgml b/doc/man/desc.sgml
index da2961e..75ac82a 100644
--- a/doc/man/desc.sgml
+++ b/doc/man/desc.sgml
@@ -14,12 +14,13 @@
<para>
- By default, &scons; reads configuration information from the
- file named <filename>SConstruct</filename> in the current
- directory. An alternate file name may be specified via the
- <option>-f</option> option. If the alternate file is not in
- the local directory, &scons; will internally change its working
- directory (chdir) to the directory containing the file.
+ By default, &scons; searches for a file named &SConstruct;,
+ &Sconstruct; or &sconstruct (in that order) in the current directory
+ and reads its configuration from the first file found. An alternate
+ file name may be specified via the <option>-f</option> option. If
+ the specified file is not in the local directory, &scons; will
+ internally change its working directory (chdir) to the directory
+ containing the file.
</para>
diff --git a/doc/man/options.sgml b/doc/man/options.sgml
index a231908..b24c18f 100644
--- a/doc/man/options.sgml
+++ b/doc/man/options.sgml
@@ -107,11 +107,13 @@
<para>
Change to the specified <replaceable>directory</replaceable>
- before reading <filename>SConstruct</filename> or doing
- anything else. Multiple <option>-C</option> options are
- interpreted relative to the previous one. (This is nearly
- equivalent to <literal>-f directory/SConstruct</literal>,
- except that it will search for <filename>SConstruct</filename>,
+ before searching for the <filename>SConstruct</filename>,
+ <filename>Sconstruct</filename> or
+ <filename>sconstruct</filename> file, or doing anything
+ else. Multiple <option>-C</option> options are interpreted
+ relative to the previous one. (This is nearly equivalent
+ to <literal>-f directory/SConstruct</literal>, except
+ that it will search for <filename>SConstruct</filename>,
<filename>Sconstruct</filename>, or
<filename>sconstruct</filename> in the directory.)
diff --git a/doc/scons.mod b/doc/scons.mod
index b8a231a..7e5470e 100644
--- a/doc/scons.mod
+++ b/doc/scons.mod
@@ -49,6 +49,8 @@
<!ENTITY Makefile "<filename>Makefile</filename>">
<!ENTITY SConscript "<filename>SConscript</filename>">
<!ENTITY SConstruct "<filename>SConstruct</filename>">
+<!ENTITY Sconstruct "<filename>Sconstruct</filename>">
+<!ENTITY sconstruct "<filename>sconstruct</filename>">
<!ENTITY sconsign "<filename>.consign</filename>">