A NOTE has been added to this issue. 
====================================================================== 
https://www.austingroupbugs.net/view.php?id=1650 
====================================================================== 
Reported By:                rillig
Assigned To:                
====================================================================== 
Project:                    Issue 8 drafts
Issue ID:                   1650
Category:                   Shell and Utilities
Type:                       Clarification Requested
Severity:                   Editorial
Priority:                   normal
Status:                     New
Name:                       Roland Illig 
Organization:                
User Reference:              
Section:                    make 
Page Number:                3103-3136 
Line Number:                 
Final Accepted Text:         
====================================================================== 
Date Submitted:             2023-03-31 08:46 UTC
Last Modified:              2023-06-01 16:04 UTC
====================================================================== 
Summary:                    Words 'prerequisite' and 'dependency' used
interchangeably
====================================================================== 

---------------------------------------------------------------------- 
 (0006301) Don Cragun (manager) - 2023-06-01 16:04
 https://www.austingroupbugs.net/view.php?id=1650#c6301 
---------------------------------------------------------------------- 
On page 3107 line 104641 section make, change:<blockquote>A target shall be
considered up-to-date if it exists and is newer than all of its
dependencies</blockquote>to:<blockquote>A target shall be considered
up-to-date if it exists and is newer than all of its
prerequisites</blockquote>


On page 3111  line 104824 section make, change:<blockquote>When source
files are named in a dependency list, make treats them just like any other
target. Because the source file is presumed to be present in the directory,
there is no need to add an entry for it to the makefile. When a target has
no dependencies, but is present in the directory, make assumes that that
file is up-to-date.</blockquote>to:<blockquote>When source files are named
in a list of prerequisites, make treats them just like any other target.
Because the source file is presumed to be present in the directory, there
is no need to add an entry for it to the makefile. When a target has no
prerequisites, but is present in the directory, make assumes that that file
is up-to-date.</blockquote>


On page 3116 line 105066 section make, change:<blockquote>Dependencies
added by target rules without
commands</blockquote>to:<blockquote>Prerequisites added by target rules
without commands</blockquote>


Add a separate note: The original POSIX.2-1992 standard was careful to use
"prerequisite" throughout. Uses of "dependency" have crept in via the SCCS
features from The Single UNIX Specification, version 2, and in some edits
made since the 2018 edition of the standard. The rationale contains a
reference to "The System V dynamic dependency feature" which should remain,
as that is what it was called historically. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2023-03-31 08:46 rillig         New Issue                                    
2023-03-31 08:46 rillig         Name                      => Roland Illig    
2023-03-31 08:46 rillig         Section                   => make            
2023-03-31 08:46 rillig         Page Number               => 3103-3136       
2023-04-01 13:43 cmsmith        Note Added: 0006240                          
2023-06-01 16:02 geoffclare     Note Added: 0006300                          
2023-06-01 16:04 Don Cragun     Note Added: 0006301                          
======================================================================


  • [Issue 8 dra... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group

Reply via email to