summaryrefslogtreecommitdiff
path: root/doc/user/factories.xml
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-08-25 15:33:07 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-08-25 15:33:07 +0200
commit16bc58049adac72cb1f398d9f89e42757bb4a22f (patch)
tree4bd9643dd0bcf91fc8c6420a4a33337a0bda6e46 /doc/user/factories.xml
parent78989ebb445af2c6462ae2bf05ffd588d76610e4 (diff)
Imported Upstream version 2.3.3upstream/2.3.3
Diffstat (limited to 'doc/user/factories.xml')
-rw-r--r--doc/user/factories.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/user/factories.xml b/doc/user/factories.xml
index e620ece..7fe0efd 100644
--- a/doc/user/factories.xml
+++ b/doc/user/factories.xml
@@ -176,6 +176,24 @@ touch $*
<scons_output_command>scons -Q</scons_output_command>
</scons_output>
+ <para>
+ The &Copy; factory has a third optional argument which controls
+ how symlinks are copied.
+ </para>
+
+ <para>
+ </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]))
+
+# Symbolic link target copied as a file or directory:
+Command("LinkIn", "FileOrDirectoryOut", Copy("$TARGET", "$SOURCE", False))
+ </file>
+ </scons_example>
+
</section>
<section>