summaryrefslogtreecommitdiffstats
path: root/doc/man
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-04-18 03:39:08 (GMT)
committerSteven Knight <knight@baldmt.com>2003-04-18 03:39:08 (GMT)
commite6b7921406394594c23f907469e923ccf028adcc (patch)
treeba5443defdb983af0347909b063e31a3670ee439 /doc/man
parent61441924d40157f2744aa74049db3b1c1f73e6c9 (diff)
downloadSCons-e6b7921406394594c23f907469e923ccf028adcc.zip
SCons-e6b7921406394594c23f907469e923ccf028adcc.tar.gz
SCons-e6b7921406394594c23f907469e923ccf028adcc.tar.bz2
Add Alias() global function. (Anthony Roach)
Diffstat (limited to 'doc/man')
-rw-r--r--doc/man/scons.112
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1
index 9f5d7f8..27dd9a7 100644
--- a/doc/man/scons.1
+++ b/doc/man/scons.1
@@ -1445,7 +1445,9 @@ which exists outside of any file system.
This Node object, or the alias name,
may be used as a dependency of any other target,
including another alias. Alias can be called multiple times for the same
-alias to add additional targets to the alias.
+alias to add additional targets to the alias. There is also an Alias
+global function for creating or referencing an alias independently of
+any construction environment.
.ES
env.Alias('install', ['/usr/local/bin', '/usr/local/lib'])
@@ -3008,6 +3010,14 @@ can be converted into an Action object
(see below).
.TP
+.RI Alias ( name )
+Creates or references an alias independent of the construction environment.
+
+.ES
+Alias('install')
+.EE
+
+.TP
.RI BuildDir( build_dir ", " src_dir ", [" duplicate ])
This specifies a build directory
.I build_dir