summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Tool/RCS.xml
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2010-07-21 16:42:26 (GMT)
committerSteven Knight <knight@baldmt.com>2010-07-21 16:42:26 (GMT)
commitf47c9af3748b0eb9c6f0b1d0f8aeec1dd9a0bfa1 (patch)
tree571c2f903cc940142c5abfc7a56ed48f4b547bdc /src/engine/SCons/Tool/RCS.xml
parent324f4aa55703916b94e7660f7f65d29f4bc9c1e5 (diff)
downloadSCons-f47c9af3748b0eb9c6f0b1d0f8aeec1dd9a0bfa1.zip
SCons-f47c9af3748b0eb9c6f0b1d0f8aeec1dd9a0bfa1.tar.gz
SCons-f47c9af3748b0eb9c6f0b1d0f8aeec1dd9a0bfa1.tar.bz2
Move the authoritative source for functions from the man page to various
.xml files (some new, some updated) next to the modules that implement them. Generate the man page using the output generated from the .xml file by bin/scons-proc.py.
Diffstat (limited to 'src/engine/SCons/Tool/RCS.xml')
-rw-r--r--src/engine/SCons/Tool/RCS.xml40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/engine/SCons/Tool/RCS.xml b/src/engine/SCons/Tool/RCS.xml
index c81cf94..515fc12 100644
--- a/src/engine/SCons/Tool/RCS.xml
+++ b/src/engine/SCons/Tool/RCS.xml
@@ -59,3 +59,43 @@ If this is not set, then &cv-link-RCS_COCOM;
Options that are passed to the &cv-link-RCS_CO; command.
</summary>
</cvar>
+
+<scons_function name="RCS">
+<arguments signature="env">
+()
+</arguments>
+<summary>
+A factory function that
+returns a Builder object
+to be used to fetch source files
+from RCS.
+The returned Builder
+is intended to be passed to the
+&f-SourceCode;
+function:
+
+This function is deprecated. For details, see the entry for the
+&f-SourceCode;
+function.
+
+Examples:
+
+<example>
+env.SourceCode('.', env.RCS())
+</example>
+
+Note that
+&scons;
+will fetch source files
+from RCS subdirectories automatically,
+so configuring RCS
+as demonstrated in the above example
+should only be necessary if
+you are fetching from
+RCS,v
+files in the same
+directory as the source files,
+or if you need to explicitly specify RCS
+for a specific subdirectory.
+</summary>
+</scons_function>