Merged revisions 3057-3059,3061-3264 via svnmerge from
[scons.git] / doc / user / factories.in
index 222f02a26e4574e0c722b07c8cc51c979aa0de8f..94af6a39547d7c693855ca12e646314993c16106 100644 (file)
     <para>
 
     Suppose you want to arrange to make a copy of a file,
-    and the &Install; builder isn't appropriate
-    because it may make a hard link on POSIX systems.
+    and don't have a suitable pre-existing builder.
+    <footnote>
+    <para>
+    Unfortunately, in the early days of SCons design,
+    we used the name &Copy; for the function that
+    returns a copy of the environment,
+    otherwise that would be the logical choice for
+    a Builder that copies a file or directory tree
+    to a target location.
+    </para>
+    </footnote>
     One way would be to use the &Copy; action factory
     in conjunction with the &Command; builder:
 
 
     <para>
 
-    (Note, however, that you typically don't need to
+    Note, however, that you typically don't need to
     call the &Delete; factory explicitly in this way;
     by default, &SCons; deletes its target(s)
     for you before executing any action.
 
     </para>
 
+    <para>
+
+    One word of caution about using the &Delete; factory:
+    it has the same variable expansions available
+    as any other factory, including the &cv-SOURCE; variable.
+    Specifying <literal>Delete("$SOURCE")</literal>
+    is not something you usually want to do!
+
+    </para>
+
   </section>
 
   <section>