bugmake - Bugs: bug #29665, .PHONY included makefiles are...

 
 

bug #29665: .PHONY included makefiles are rebuilt but not reread

Submitted by:  None
Submitted on:  Sun 25 Apr 2010 02:34:12 AM UTC  
 
Severity: 3 - NormalItem Group: None
Status: Not A BugPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Component Version: NoneOperating System: None
Fixed Release: NoneTriage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 03 Jul 2010 07:03:44 PM UTC, comment #2:

This is not a bug. If make were to reread the makefile marked as PHONY, then it would go into an infinite loop (because after rereading the makefile make would again try to build it, and see it's out of date due to PHONY, and re-read it, then see that it's out of date and re-read it, etc.)

Paul D. Smith <psmith>
Project Administrator
Fri 07 May 2010 04:28:16 PM UTC, comment #1:

Since the makefile is a real file, you shouldn't be marking it phony. The usual way to force a target to always be remade is to have it depend on a phony target "FORCE".

Matt McCutchen <hashproduct>
Sun 25 Apr 2010 02:34:12 AM UTC, original submission:

If make decides to rebuild a makefile, whether the main makefile or an included one, and the target is phony to force it to be remade, the makefile is updated on disk but make does not reread it.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #20319:  Makefile added by None (149B - application/octet-stream - Pair of test files)
file #20320:  remake.make added by None (38B - application/octet-stream - Pair of test files)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by psmith (Posted a comment)
  • -unavailable- added by hashproduct (Posted a comment)
  •  

    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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 03 Jul 2010 07:03:44 PM UTCpsmithStatusNone=>Not A Bug
      Open/ClosedOpen=>Closed
    Sun 25 Apr 2010 02:34:12 AM UTCNoneAttached File-=>Added Makefile, #20319
      Attached File-=>Added remake.make, #20320

    Back to the top


    Powered by Savane 3.1-cleanup1