summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Script/Main.xml
diff options
context:
space:
mode:
authorTom Tanner <ttanner2@bloomberg.net>2013-09-30 09:42:46 (GMT)
committerTom Tanner <ttanner2@bloomberg.net>2013-09-30 09:42:46 (GMT)
commit3e2d5a0f8df6fe132ff7cf6b405321a7ee64a14d (patch)
treec046ce0a0c75377090bb080eb81537ee0cf43edb /src/engine/SCons/Script/Main.xml
parent273277af17a828c7e9868da893e1512ea9f63e47 (diff)
downloadSCons-3e2d5a0f8df6fe132ff7cf6b405321a7ee64a14d.zip
SCons-3e2d5a0f8df6fe132ff7cf6b405321a7ee64a14d.tar.gz
SCons-3e2d5a0f8df6fe132ff7cf6b405321a7ee64a14d.tar.bz2
Added Pseudo command to environment and tests. If a target is declared as
Pseudo, it must NOT exist after the build rule is executed.
Diffstat (limited to 'src/engine/SCons/Script/Main.xml')
-rw-r--r--src/engine/SCons/Script/Main.xml17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/engine/SCons/Script/Main.xml b/src/engine/SCons/Script/Main.xml
index b582e0d..99e066e 100644
--- a/src/engine/SCons/Script/Main.xml
+++ b/src/engine/SCons/Script/Main.xml
@@ -685,6 +685,21 @@ Multiple targets can be passed in to a single call to
</summary>
</scons_function>
+<scons_function name="Phony">
+<arguments>
+(target, ...)
+</arguments>
+<summary>
+<para>
+Marks each given
+<varname>target</varname>
+as phony, indicating it should not be created by the build rule. If a
+Phony target is created, this will cause an error.
+Multiple targets can be passed in to a single call to
+&f-Phony;.
+</para>
+</summary>
+</scons_function>
<scons_function name="SetOption">
<arguments>
(name, value)
@@ -788,4 +803,4 @@ SetOption('max_drift', 1)
</summary>
</scons_function>
-</sconsdoc> \ No newline at end of file
+</sconsdoc>