summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Script/Main.xml
diff options
context:
space:
mode:
authorGary Oberbrunner <garyo@oberbrunner.com>2013-11-02 20:27:42 (GMT)
committerGary Oberbrunner <garyo@oberbrunner.com>2013-11-02 20:27:42 (GMT)
commitcc202cdc15cd156c458ad9a2f94b2e9145be3ec2 (patch)
tree69c4681b26c8c9d2e94d7c7d24bbe764ec19e4ad /src/engine/SCons/Script/Main.xml
parent6660a1b75c021994ccf352bb5314935d533b7994 (diff)
parent54eaf41e5eadd05c73b0ad21223f73c4ed47684f (diff)
downloadSCons-cc202cdc15cd156c458ad9a2f94b2e9145be3ec2.zip
SCons-cc202cdc15cd156c458ad9a2f94b2e9145be3ec2.tar.gz
SCons-cc202cdc15cd156c458ad9a2f94b2e9145be3ec2.tar.bz2
Merge pull request #88: various usability enhancements
* Allow multiple --debug= values * Add support for a readonly cache (--cache-readonly) * Always print stats if requested * Generally try harder to print out a message on build errors
Diffstat (limited to 'src/engine/SCons/Script/Main.xml')
-rw-r--r--src/engine/SCons/Script/Main.xml21
1 files changed, 20 insertions, 1 deletions
diff --git a/src/engine/SCons/Script/Main.xml b/src/engine/SCons/Script/Main.xml
index b582e0d..147e778 100644
--- a/src/engine/SCons/Script/Main.xml
+++ b/src/engine/SCons/Script/Main.xml
@@ -685,6 +685,25 @@ Multiple targets can be passed in to a single call to
</summary>
</scons_function>
+<scons_function name="Pseudo">
+<arguments>
+(target, ...)
+</arguments>
+<summary>
+<para>
+This indicates that each given
+<varname>target</varname>
+should not be created by the build rule, and if the target is created,
+an error will be generated. This is similar to the gnu make .PHONY
+target. However, in the vast majority of cases, an
+&f-Alias;
+is more appropriate.
+
+Multiple targets can be passed in to a single call to
+&f-Pseudo;.
+</para>
+</summary>
+</scons_function>
<scons_function name="SetOption">
<arguments>
(name, value)
@@ -788,4 +807,4 @@ SetOption('max_drift', 1)
</summary>
</scons_function>
-</sconsdoc> \ No newline at end of file
+</sconsdoc>