summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGary Oberbrunner <garyo@oberbrunner.com>2014-07-20 19:49:33 (GMT)
committerGary Oberbrunner <garyo@oberbrunner.com>2014-07-20 19:49:33 (GMT)
commit53e30bebc2a633fc95589b9dfe663483775138a5 (patch)
tree3f718990ef6cce8fbe87d0c200e61d5818530f0c /doc
parenta3b104e286e7d7bb3ab73e2943fe4faa5f0d43b7 (diff)
parentf7384a54a0d60838d10130f70790b4a16584c746 (diff)
downloadSCons-53e30bebc2a633fc95589b9dfe663483775138a5.zip
SCons-53e30bebc2a633fc95589b9dfe663483775138a5.tar.gz
SCons-53e30bebc2a633fc95589b9dfe663483775138a5.tar.bz2
Merged in williamblevins/scons (pull request #156, symlink copying)
Diffstat (limited to 'doc')
-rw-r--r--doc/user/factories.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/user/factories.xml b/doc/user/factories.xml
index 08f20e6..815efe3 100644
--- a/doc/user/factories.xml
+++ b/doc/user/factories.xml
@@ -176,6 +176,27 @@ touch $*
<scons_output_command>scons -Q</scons_output_command>
</scons_output>
+ <para>
+ The &Copy; factory supports symbolic link copying behavior
+ which is controlled by a third optional argument.
+ </para>
+
+ <para>
+ Symbolic links shallow copied as new symbolic links:
+ </para>
+
+ <para>
+ <literal>Command("LinkIn", "LinkOut1", Copy("$TARGET", "$SOURCE"[, True]))</literal>
+ </para>
+
+ <para>
+ Symbolic link deep copied as file target file or directory:
+ </para>
+
+ <para>
+ <literal>Command("LinkIn", "FileOut", Copy("$TARGET", "$SOURCE", False))</literal>
+ </para>
+
</section>
<section>