diff options
author | Steven Knight <knight@baldmt.com> | 2002-04-11 05:04:42 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-04-11 05:04:42 (GMT) |
commit | e7578889702d1be9231592a0b2a39050f3702c51 (patch) | |
tree | 3c035451ea95a33b0473361d1446fe7cad1fe6df /doc | |
parent | 3207c9ca9efaac1b8d3f2174d2e5f336f92887ab (diff) | |
download | SCons-e7578889702d1be9231592a0b2a39050f3702c51.zip SCons-e7578889702d1be9231592a0b2a39050f3702c51.tar.gz SCons-e7578889702d1be9231592a0b2a39050f3702c51.tar.bz2 |
Add abspath construction variable modifier and variable (Anthony Roach)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man/scons.1 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1 index ed7978f..b3ed141 100644 --- a/doc/man/scons.1 +++ b/doc/man/scons.1 @@ -1553,8 +1553,13 @@ target if multiple targets are being built. .IP TARGETS The file names of all targets being built. +.IP SOURCE +The file name of the source of the build command, or the file name of the +first source if multiple sources are being built. + .IP SOURCES The file names of the sources of the build command. + .LP For example, given the construction variable CC='cc', targets=['foo'], and sources=['foo.c', 'bar.c']: @@ -1603,6 +1608,9 @@ and minus the directory. .IP suffix Just the file suffix. +.IP abspath +The absolute path name of the file. + .LP For example, the specified target will expand as follows for the corresponding modifiers: @@ -1614,6 +1622,7 @@ ${TARGET.dir} => sub/dir ${TARGET.file} => file.x ${TARGET.filebase} => file ${TARGET.suffix} => .x +${TARGET.abspath} => /top/dir/sub/dir/file.x .EE .LP |