summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-04-09 14:54:03 (GMT)
committerSteven Knight <knight@baldmt.com>2003-04-09 14:54:03 (GMT)
commit357e981118ba9f2528a2a5f3f60a3f928046558b (patch)
tree9729558c032bad479e9e69e9c25daecd85bc357a /doc
parent393e4ca7e9d1308803da49bee667f1a874c612db (diff)
downloadSCons-357e981118ba9f2528a2a5f3f60a3f928046558b.zip
SCons-357e981118ba9f2528a2a5f3f60a3f928046558b.tar.gz
SCons-357e981118ba9f2528a2a5f3f60a3f928046558b.tar.bz2
Set the SYSTEMROOT environment variable on Windows, use POSIX (forward-slash) paths when checking things out of CVS.
Diffstat (limited to 'doc')
-rw-r--r--doc/man/scons.139
1 files changed, 39 insertions, 0 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1
index 54afbb0..75e83d1 100644
--- a/doc/man/scons.1
+++ b/doc/man/scons.1
@@ -802,6 +802,21 @@ construction variables in the environment
to use and generate file names with prefixes
and suffixes appropriate for the platform.
+Note that the
+.B win32
+platform adds the
+.B SYSTEMROOT
+variable from the user's external environment
+to the construction environment's
+.B ENV
+dictionary.
+This is so that any executed commands
+that use sockets to connect with other systems
+(such as fetching source files from
+external CVS repository specifications like
+.BR :pserver:anonymous:@cvs.sourceforge.net:/cvsroot/scons )
+will work on Win32 systems.
+
The platform argument may be function or callable object,
in which case the Environment() method
will call the specified argument to update
@@ -3379,6 +3394,21 @@ platform keyword of the Environment() method.
.ES
env = Environment(platform = Platform('win32'))
.EE
+.IP
+Note that the
+.B win32
+platform adds the
+.B SYSTEMROOT
+variable from the user's external environment
+to the construction environment's
+.B ENV
+dictionary.
+This is so that any executed commands
+that use sockets to connect with other systems
+(such as fetching source files from
+external CVS repository specifications like
+.BR :pserver:anonymous:@cvs.sourceforge.net:/cvsroot/scons )
+will work on Win32 systems.
.TP
.RI Repository( directory )
@@ -4050,6 +4080,15 @@ Just the file suffix.
.IP abspath
The absolute path name of the file.
+.IP posix
+The POSIX form of the path,
+with directories separated by
+.B /
+(forward slashes)
+not backslashes.
+This is sometimes necessary on Win32 systems
+when a path references a file on other (POSIX) systems.
+
.LP
For example, the specified target will
expand as follows for the corresponding modifiers: