Skip to content

Commit 4e940fa

Browse files
authored
Merge branch 'master' into maint/Value
2 parents 898415e + f7e1135 commit 4e940fa

File tree

7 files changed

+162
-91
lines changed

7 files changed

+162
-91
lines changed

CHANGES.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ RELEASE VERSION/DATE TO BE FILLED IN LATER
9191
harder to decode non-UTF-8 text. SCons.Util.to_Text now exists
9292
to convert a byte stream, such as "raw" file data. Fixes #3569, #4462.
9393
The Pseudo manpage entry was updated to provide more clarity.
94+
- Clarify how SCons finds the project top directory, and what that is used for.
9495
- The internal routine which implements the PyPackageDir function
9596
would fail with an exception if called with a module which is
9697
not found. It will now return None. Updated manpage entry and
@@ -99,6 +100,9 @@ RELEASE VERSION/DATE TO BE FILLED IN LATER
99100
describe the Microsoft C++ compiler. Update the version table slightly.
100101
Amplified the usage of MSVC_VERSION.
101102
- Improve SharedLibrary docs a bit.
103+
- More consistent use of &Python; in the manpage. A few links added.
104+
A warning about overwriting env['ENV'] and one about Configure
105+
checks possibly not running in in no-exec mode also added.
102106
- Update warnings module: adds docstrings, drop three unused warnings
103107
(DeprecatedSourceCodeWarning, TaskmasterNeedsExecuteWarning,
104108
DeprecatedMissingSConscriptWarning) add two warnings to manpage

RELEASE.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,18 +86,24 @@ PACKAGING
8686

8787
- Remove unecessary dependencies on pypi packages from setup.cfg
8888

89+
8990
DOCUMENTATION
9091
-------------
9192

9293
- Fixed the Scanner examples in the User Guide to be runnable and added
93-
some more explantion. Clarified discussion of the scanner function in
94+
some more explanation. Clarified discussion of the scanner function in
9495
the Scanner Objects section of the manpage.
9596
- The manpage entry for Pseudo was clarified.
9697
- The manpage entry for SharedLibrary was clarified.
9798
- Update API docs for Warnings framework; add two warns to manpage
9899
enable/disable control.
100+
- More consistent use of &Python; in the manpage. A few links added.
101+
A warning about overwriting env['ENV'] and one about Configure
102+
checks possibly not running in in no-exec mode also added.
103+
- Clarify how SCons finds the project top directory, and what that is used for.
99104
- Updated Value Node docs.
100105

106+
101107
DEVELOPMENT
102108
-----------
103109

SCons/Defaults.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,14 @@ containing the
5757
<filename>SConstruct</filename>
5858
file.
5959
</para>
60+
<para>
61+
If variant directories are in use,
62+
and the configure check results should not be
63+
shared between variants,
64+
you can set &cv-CONFIGUREDIR;
65+
and &cv-link-CONFIGURELOG; so they are
66+
unique per variant directory.
67+
</para>
6068
</summary>
6169
</cvar>
6270

@@ -71,6 +79,14 @@ containing the
7179
<filename>SConstruct</filename>
7280
file.
7381
</para>
82+
<para>
83+
If variant directories are in use,
84+
and the configure check results should not be
85+
shared between variants,
86+
you can set &cv-link-CONFIGUREDIR;
87+
and &cv-CONFIGURELOG; so they are
88+
unique per variant directory.
89+
</para>
7490
</summary>
7591
</cvar>
7692

SCons/Environment.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,17 @@ def setdefault(self, key, default=None):
633633
return self._dict.setdefault(key, default)
634634

635635
def arg2nodes(self, args, node_factory=_null, lookup_list=_null, **kw):
636+
"""Converts *args* to a list of nodes.
637+
638+
Arguments:
639+
args - filename strings or nodes to convert; nodes are just
640+
added to the list without further processing.
641+
node_factory - optional factory to create the nodes; if not
642+
specified, will use this environment's ``fs.File method.
643+
lookup_list - optional list of lookup functions to call to
644+
attempt to find the file referenced by each *args*.
645+
kw - keyword arguments that represent additional nodes to add.
646+
"""
636647
if node_factory is _null:
637648
node_factory = self.fs.File
638649
if lookup_list is _null:

SCons/Environment.xml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2999,9 +2999,9 @@ method.
29992999
<summary>
30003000
<para>
30013001
Specifies an order-only relationship
3002-
between the specified target file(s)
3003-
and the specified prerequisite file(s).
3004-
The prerequisite file(s)
3002+
between <parameter>target</parameter>
3003+
and <parameter>prerequisite</parameter>.
3004+
The prerequisites
30053005
will be (re)built, if necessary,
30063006
<emphasis>before</emphasis>
30073007
the target file(s),
@@ -3012,6 +3012,9 @@ the prerequisite file(s) change.
30123012
<parameter>target</parameter> and
30133013
<parameter>prerequisite</parameter> may each
30143014
be a string or Node, or a list of strings or Nodes.
3015+
If there are multiple
3016+
<parameter>target</parameter> values,
3017+
the prerequisite(s) are added to each one.
30153018
Returns a list of the affected target nodes.
30163019
</para>
30173020

0 commit comments

Comments
 (0)