Austin Group Defect Tracker

Aardvark Mark IV


Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Type Date Submitted Last Update
0001660 [Issue 8 drafts] Shell and Utilities Comment Error 2023-04-06 08:44 2023-06-27 14:58
Reporter geoffclare View Status public  
Assigned To
Priority normal Resolution Accepted  
Status Applied   Product Version Draft 3
Name Geoff Clare
Organization The Open Group
User Reference
Section make
Page Number 3128
Line Number 105558
Final Accepted Text
Summary 0001660: Out of date make rationale about -n and $(MAKE)
Description Bug 0001436 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:
However, the System V convention of forcing command execution with -n 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:
subdir:
cd subdir; rm all_the_files; $(MAKE)
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.
to:
The System V convention of forcing command execution with -n when the command line of a target expands the MAKE macro was not adopted in earlier versions of this standard, but it is now required because it has become widespread existing practice.

Tags applied_after_i8d3, issue8
Attached Files

- Relationships
related to 0001436Applied 1003.1(2016/18)/Issue7+TC2 make: add "-j max_jobs" option to support simultaneous rule processing 
has duplicate 0001691Closed Issue 8 drafts Contradition for -n and ${MAKE} 

There are no notes attached to this issue.

- 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
2023-04-06 08:44 geoffclare Relationship added related to 0001436
2023-05-11 11:00 geoffclare Relationship added related to 0001691
2023-06-05 16:32 Don Cragun Status New => Resolved
2023-06-05 16:32 Don Cragun Resolution Open => Accepted
2023-06-05 16:33 Don Cragun Tag Attached: issue8
2023-06-15 16:08 geoffclare Relationship replaced has duplicate 0001691
2023-06-27 14:58 geoffclare Status Resolved => Applied
2023-06-27 14:59 geoffclare Tag Attached: applied_after_i8d3


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker