bugmake - Bugs: bug #101, A make invocation doesn't know the...

 
 

bug #101: A make invocation doesn't know the name of its makefile

Submitted by:  Paul D. Smith <psmith>
Submitted on:  Sat 20 Apr 2002 08:24:31 PM UTC  
 
Severity: 1 - WishItem Group: Enhancement
Status: FixedPrivacy: Public
Assigned to: Paul D. Smith <psmith>Open/Closed: Closed
Component Version: 3.78Operating System: Any
Fixed Release: 3.80Triage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 07 Jul 2002 09:24:13 PM UTC, comment #1:

A new make variable MAKEFILE_LIST is available in the next version. It contains a list of all the makefiles which have (or are being) read in. So, the last word in this list will be the name of the current makefile (before you include any other makefiles of course).

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.
Sat 20 Apr 2002 08:24:31 PM UTC, original submission:

In some versions of make (clearmake for instance), there is a variable MAKEFILE set to the name of the makefile that is being used. This is not available in GNU make.

It can come in handy often (but not exclusively) when you want to make code dependant on the makefile itself.

Reported via GNATS by Jeremy R Van Haren <vanharen@cycletime.com>.

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 6 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 04 Oct 2002 12:36:08 PM UTCpsmithFixed Release4.0=>(Error - Not Found)
Sun 07 Jul 2002 09:24:13 PM UTCpsmithStatusNone=>(Error - Not Found)
  Assigned toNone=>NA
  Open/ClosedOpen=>(Error - Not Found)
  Fixed ReleaseNone=>(Error - Not Found)
  Closed on-=>-

Back to the top


Powered by Savane 3.1-cleanup1