diff options
author | William Blevins <wblevins@gmail.com> | 2014-08-09 17:37:09 (GMT) |
---|---|---|
committer | William Blevins <wblevins@gmail.com> | 2014-08-09 17:37:09 (GMT) |
commit | 06e9b9b05ff1b7708fd0acbb4b276ff839da931d (patch) | |
tree | 1e9573c1b1ada1b875c3ecd7da8cbbeb66740258 /doc/user/factories.xml | |
parent | 1e7356e2a4f660c6f1cd42b92aec0c47233c1a2d (diff) | |
download | SCons-06e9b9b05ff1b7708fd0acbb4b276ff839da931d.zip SCons-06e9b9b05ff1b7708fd0acbb4b276ff839da931d.tar.gz SCons-06e9b9b05ff1b7708fd0acbb4b276ff839da931d.tar.bz2 |
Updated Issue 2395 documentation per request.
Diffstat (limited to 'doc/user/factories.xml')
-rw-r--r-- | doc/user/factories.xml | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/doc/user/factories.xml b/doc/user/factories.xml index 815efe3..c8480db 100644 --- a/doc/user/factories.xml +++ b/doc/user/factories.xml @@ -177,25 +177,22 @@ touch $* </scons_output> <para> - The &Copy; factory supports symbolic link copying behavior - which is controlled by a third optional argument. + The &Copy; factory has a third optional argument which controls + how symlinks are copied. </para> <para> - Symbolic links shallow copied as new symbolic links: </para> - <para> - <literal>Command("LinkIn", "LinkOut1", Copy("$TARGET", "$SOURCE"[, True]))</literal> - </para> + <scons_example name="factories_SymlinkCopy"> + <file name ="SymlinkCopy" printme="1"> +# Symbolic link shallow copied as a new symbolic link: +Command("LinkIn", "LinkOut", Copy("$TARGET", "$SOURCE"[, True])) - <para> - Symbolic link deep copied as file target file or directory: - </para> - - <para> - <literal>Command("LinkIn", "FileOut", Copy("$TARGET", "$SOURCE", False))</literal> - </para> +# Symbolic link target copied as a file or directory: +Command("LinkIn", "FileOrDirectoryOut", Copy("$TARGET", "$SOURCE", False)) + </file> + </scons_example> </section> |