diff options
author | Tom Tanner <ttanner2@bloomberg.net> | 2013-10-07 09:00:12 (GMT) |
---|---|---|
committer | Tom Tanner <ttanner2@bloomberg.net> | 2013-10-07 09:00:12 (GMT) |
commit | d5870b7149bcb4058c21288827a5c79f2f12ccdb (patch) | |
tree | 3d0525dcc91890a0228c66ce65335bb8bfa9fc92 | |
parent | 81524478eeffbb8ea011f2362ddbdce1a47dd96a (diff) | |
download | SCons-d5870b7149bcb4058c21288827a5c79f2f12ccdb.zip SCons-d5870b7149bcb4058c21288827a5c79f2f12ccdb.tar.gz SCons-d5870b7149bcb4058c21288827a5c79f2f12ccdb.tar.bz2 |
Fix names in several places and refer to the .PHONY command
in the documentation.
-rw-r--r-- | src/engine/SCons/EnvironmentTests.py | 2 | ||||
-rw-r--r-- | src/engine/SCons/Node/NodeTests.py | 2 | ||||
-rw-r--r-- | src/engine/SCons/Script/Main.xml | 14 |
3 files changed, 11 insertions, 7 deletions
diff --git a/src/engine/SCons/EnvironmentTests.py b/src/engine/SCons/EnvironmentTests.py index a4fbefb..7fa8af4 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 620c09b..076ca65 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 99e066e..147e778 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> |