Manpage: note pre/post actions effect on an alias#4672
Merged
bdbaddog merged 6 commits intoSCons:masterfrom Apr 6, 2025
Merged
Manpage: note pre/post actions effect on an alias#4672bdbaddog merged 6 commits intoSCons:masterfrom
bdbaddog merged 6 commits intoSCons:masterfrom
Conversation
3 tasks
3d0c7d9 to
b5a2151
Compare
448bca2 to
d53a8ca
Compare
AddPostAction and AddPreAction apply to the action of the alias, which may not have been clear previously (see SCons#2281). Expanded the example for AddPreAction using a multi-step build. Signed-off-by: Mats Wichmann <mats@linux.com>
The initial version of PR #4872 proposed to document that pre- and post-actions on an alias have no effect if the alias has no action itself. Subsequently, PR #4874 was merged to change this behavior so that statement is backed out, but the other proposed doc improvements in this area are retained. Signed-off-by: Mats Wichmann <mats@linux.com>
d53a8ca to
086a92b
Compare
bdbaddog
reviewed
Apr 3, 2025
bdbaddog
reviewed
Apr 3, 2025
bdbaddog
reviewed
Apr 3, 2025
SCons/Environment.xml
Outdated
| <summary> | ||
| <para> | ||
| Creates an <firstterm>alias</firstterm> target that | ||
| Create an <firstterm>Alias</firstterm> target that |
Contributor
There was a problem hiding this comment.
Should this be Alias entity instead?
Collaborator
Author
There was a problem hiding this comment.
Not a term we use anywhere else... but not necessarily averse to using a new term. We don't use "alias target" much either, unless I'm searching poorly.
Collaborator
Author
There was a problem hiding this comment.
Maybe the word "Node" is what we want, since that's what is actually made?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
AddPostActionandAddPreActionapply to the action of the alias, which may not have been clear previously (see #2281).Expanded the example for
AddPreActionusing a multi-step build.I don't consider that this completes the referenced issue, since it only provides information to those who happen to read those manpage snips - there is neither a warning on use nor a lessening of the impression that "it ought to work".
No code is affected.
Contributor Checklist:
CHANGES.txtandRELEASE.txt(and read theREADME.rst).