The following issue has been SUBMITTED. 
====================================================================== 
https://austingroupbugs.net/view.php?id=1660 
====================================================================== 
Reported By:                geoffclare
Assigned To:                
====================================================================== 
Project:                    Issue 8 drafts
Issue ID:                   1660
Category:                   Shell and Utilities
Type:                       Error
Severity:                   Comment
Priority:                   normal
Status:                     New
Name:                       Geoff Clare 
Organization:               The Open Group 
User Reference:              
Section:                    make 
Page Number:                3128 
Line Number:                105558 
Final Accepted Text:         
====================================================================== 
Date Submitted:             2023-04-06 08:44 UTC
Last Modified:              2023-04-06 08:44 UTC
====================================================================== 
Summary:                    Out of date make rationale about -n and $(MAKE)
Description: 
Bug https://austingroupbugs.net/view.php?id=1436 added the requirement that
command lines which expand the
MAKE macro are still executed when -n is used, and removed some old
rationale about this feature, but missed some later rationale that should
also have been either removed or changed.

Desired Action: 
Change:<blockquote>However, the System V convention of forcing command
execution with <b>-n</b> when the command line of a target contains either
of the strings "$(MAKE)" or "${MAKE}" has not been adopted. This
functionality appeared in early proposals, but the danger of this approach
was pointed out with the following example of a portion of a
makefile:<pre>subdir:
cd subdir; rm all_the_files; $(MAKE)</pre>The loss of the System V behavior
in this case is well-balanced by the safety afforded to other makefiles
that were not aware of this situation. In any event, the command line
<plus-sign> prefix can provide the desired
functionality.</blockquote>to:<blockquote>The System V convention of
forcing command execution with <b>-n</b> when the command line of a target
expands the <i>MAKE</i> macro was not adopted in earlier versions of this
standard, but it is now required because it has become widespread existing
practice.</blockquote>

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2023-04-06 08:44 geoffclare     New Issue                                    
2023-04-06 08:44 geoffclare     Name                      => Geoff Clare     
2023-04-06 08:44 geoffclare     Organization              => The Open Group  
2023-04-06 08:44 geoffclare     Section                   => make            
2023-04-06 08:44 geoffclare     Page Number               => 3128            
2023-04-06 08:44 geoffclare     Line Number               => 105558          
======================================================================


  • [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