summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-02-09 05:44:56 (GMT)
committerSteven Knight <knight@baldmt.com>2004-02-09 05:44:56 (GMT)
commitbeb70fd5da65eb66b2b91df6ed487e4e927b5273 (patch)
treec5077959e35bff862ef2e6f08274f22b8b7ef511 /doc
parent2214b703b0647a02cda159c770d54d3e419a1238 (diff)
downloadSCons-beb70fd5da65eb66b2b91df6ed487e4e927b5273.zip
SCons-beb70fd5da65eb66b2b91df6ed487e4e927b5273.tar.gz
SCons-beb70fd5da65eb66b2b91df6ed487e4e927b5273.tar.bz2
Make the M4 Builder work with repositories by adding an rsrcnode attribute.
Diffstat (limited to 'doc')
-rw-r--r--doc/man/scons.117
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1
index efa59ba..f5c0a70 100644
--- a/doc/man/scons.1
+++ b/doc/man/scons.1
@@ -6475,6 +6475,18 @@ The directory containing the source file linked to this file
through BuildDir. If this file isn't linked, it just returns the
directory part of the filename.
+.IP rsrcpath
+The directory and file name to the source file linked to this file
+through BuildDir. If the file does not exist locally but exists in
+a Repository, the path in the Repository is returned.
+If this file isn't linked, it just returns the
+directory and filename unchanged.
+
+.IP rsrcdir
+The Repository directory containing the source file linked to this file
+through BuildDir. If this file isn't linked, it just returns the
+directory part of the filename.
+
.LP
For example, the specified target will
expand as follows for the corresponding modifiers:
@@ -6492,6 +6504,11 @@ BuildDir('sub/dir','src')
$SOURCE => sub/dir/file.x
${SOURCE.srcpath} => src/file.x
${SOURCE.srcdir} => src
+
+Repository('/usr/repository')
+$SOURCE => sub/dir/file.x
+${SOURCE.rsrcpath} => /usr/repository/src/file.x
+${SOURCE.rsrcdir} => /usr/repository/src
.EE
Lastly, a variable name