summaryrefslogtreecommitdiffstats
path: root/doc/man
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2001-09-26 02:40:46 (GMT)
committerSteven Knight <knight@baldmt.com>2001-09-26 02:40:46 (GMT)
commit7318c163cf3f9e5a3c17404ef8bec15454b9766b (patch)
treeca918682926b3917a9da3dcc90ea57efc6e1d3dc /doc/man
parentcf97a90442df5f8b835bb81aa5139e142baaf446 (diff)
downloadSCons-7318c163cf3f9e5a3c17404ef8bec15454b9766b.zip
SCons-7318c163cf3f9e5a3c17404ef8bec15454b9766b.tar.gz
SCons-7318c163cf3f9e5a3c17404ef8bec15454b9766b.tar.bz2
Add support for SCONSFLAGS.
Diffstat (limited to 'doc/man')
-rw-r--r--doc/man/main.sgml6
-rw-r--r--doc/man/variables.sgml35
2 files changed, 41 insertions, 0 deletions
diff --git a/doc/man/main.sgml b/doc/man/main.sgml
index 5bac0f0..75abbd7 100644
--- a/doc/man/main.sgml
+++ b/doc/man/main.sgml
@@ -15,6 +15,7 @@
<!ENTITY desc SYSTEM "desc.sgml">
<!ENTITY options SYSTEM "options.sgml">
+ <!ENTITY variables SYSTEM "variables.sgml">
]>
<refentry id="scons">
@@ -82,6 +83,11 @@
</refsect1>
<refsect1>
+ <title>Environment Variables</title>
+ &variables;
+ </refsect1>
+
+ <refsect1>
<title>See Also</title>
<para>
</para>
diff --git a/doc/man/variables.sgml b/doc/man/variables.sgml
new file mode 100644
index 0000000..8d4e0c8
--- /dev/null
+++ b/doc/man/variables.sgml
@@ -0,0 +1,35 @@
+<!--
+
+ Copyright 2001 Steven Knight
+
+-- >
+
+<para>
+
+ &scons; supports the following environment variables to affect
+ its behavior:
+
+</para>
+
+<variablelist>
+
+ <varlistentry>
+ <term>
+ &SCONSFLAGS;
+ </term>
+ <listitem>
+ <para>
+
+ &SCons; reads and interprets command-line options from this
+ environment variable before interpreting the options actually
+ supplied on the command line. Where there's a conflict, options
+ from the command line overrule options from the &SCONSFLAGS;
+ environment variable. Unknown options and other errors in the
+ &SCONSFLAGS; variable are ignored with a warning, but do not
+ halt &SCons;.
+
+ </para>
+ </listitem>
+ </varlistentry>
+
+</variablelist>