summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tanner <ttanner2@bloomberg.net>2013-10-07 10:00:12 +0100
committerTom Tanner <ttanner2@bloomberg.net>2013-10-07 10:00:12 +0100
commit1bd9379c4001bc39d3ff3fd67feb56abc86d130e (patch)
tree3d0525dcc91890a0228c66ce65335bb8bfa9fc92
parent50d73ae665d319067e2808e81041372529d975f9 (diff)
downloadscons-1bd9379c4001bc39d3ff3fd67feb56abc86d130e.tar.gz
Fix names in several places and refer to the .PHONY command
in the documentation.
-rw-r--r--src/engine/SCons/EnvironmentTests.py2
-rw-r--r--src/engine/SCons/Node/NodeTests.py2
-rw-r--r--src/engine/SCons/Script/Main.xml14
3 files changed, 11 insertions, 7 deletions
diff --git a/src/engine/SCons/EnvironmentTests.py b/src/engine/SCons/EnvironmentTests.py
index a4fbefb2..7fa8af4e 100644
--- a/src/engine/SCons/EnvironmentTests.py
+++ b/src/engine/SCons/EnvironmentTests.py
@@ -3126,7 +3126,7 @@ def generate(env):
assert t[4].precious
def test_Pseudo(self):
- """Test the Precious() method"""
+ """Test the Pseudo() method"""
env = self.TestEnvironment(FOO='ggg', BAR='hhh')
env.Dir('p_hhhb')
env.File('p_d')
diff --git a/src/engine/SCons/Node/NodeTests.py b/src/engine/SCons/Node/NodeTests.py
index 620c09b2..076ca65a 100644
--- a/src/engine/SCons/Node/NodeTests.py
+++ b/src/engine/SCons/Node/NodeTests.py
@@ -694,7 +694,7 @@ class NodeTestCase(unittest.TestCase):
assert node.precious == 7
def test_set_pseudo(self):
- """Test setting a Node's phony value
+ """Test setting a Node's pseudo value
"""
node = SCons.Node.Node()
node.set_pseudo()
diff --git a/src/engine/SCons/Script/Main.xml b/src/engine/SCons/Script/Main.xml
index 99e066e0..147e778a 100644
--- a/src/engine/SCons/Script/Main.xml
+++ b/src/engine/SCons/Script/Main.xml
@@ -685,18 +685,22 @@ Multiple targets can be passed in to a single call to
</summary>
</scons_function>
-<scons_function name="Phony">
+<scons_function name="Pseudo">
<arguments>
(target, ...)
</arguments>
<summary>
<para>
-Marks each given
+This indicates that 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.
+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-Phony;.
+&f-Pseudo;.
</para>
</summary>
</scons_function>