Austin Group Defect Tracker

Aardvark Mark III


Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Type Date Submitted Last Update
0001155 [1003.1(2008)/Issue 7] Shell and Utilities Editorial Enhancement Request 2017-07-12 10:36 2017-07-12 10:36
Reporter joerg View Status public  
Assigned To ajosey
Priority normal Resolution Open  
Status Under Review  
Name Jörg Schilling
Organization
User Reference
Section make
Page Number 2977
Line Number 98816
Interp Status ---
Final Accepted Text
Summary 0001155: Make should mention the special treatment of $(MAKE)
Description While observing a related bug in SunPro Make with the "-r" option, it appears that the POSIX standard does not mention an important feature of the MAKE macro.

The MAKE macro should be (unless overwritten by the user) always automatically set up to a value that allows to call the same make binary again via $(MAKE) ...

If "make" is called as "make", MAKE should contain make.

If "make" is called as "/usr/bin/make", MAKE should containd /usr/bin/make.

If "make" is called as "./make", MAKE should contain "$PWD/make".
Desired Action After line 98815 add a new paragraph with the following text:

The MAKE macro shall be treated specially. It shall be provided by make and set to the pathname or name of the make binary that is running. If MAKE is defined in the makefile or is specified on the command line, it shall replace the original value of the MAKE macro, but shall not affect the MAKE environment variable.
Tags No tags attached.
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2017-07-12 10:36 joerg New Issue
2017-07-12 10:36 joerg Status New => Under Review
2017-07-12 10:36 joerg Assigned To => ajosey
2017-07-12 10:36 joerg Name => Jörg Schilling
2017-07-12 10:36 joerg Section => make
2017-07-12 10:36 joerg Page Number => 2977
2017-07-12 10:36 joerg Line Number => 98816


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