bugmake - Bugs: bug #60795, Document that .PHONY included...

 
 

bug #60795: Document that .PHONY included makefiles are rebuilt but not reread

Submitter:  Renaud Pacalet <pacalet>
Submitted:  Fri 18 Jun 2021 06:35:21 AM UTC
   
 
Severity:  3 - Normal Priority:  5 - Normal
Item Group:  Enhancement Status:  Fixed
Privacy:  Public Assigned to:  psmith
Open/Closed:  Closed Component Version:  None
Operating System:  Any Fixed Release:  4.4
Triage Status:  Medium Effort
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Mon 06 Sep 2021 10:38:46 PM UTC, comment #1: 

I wrote some tests for this and discovered there were some odd corner cases where included files were not loaded and also no error was thrown.  These might have been due to changes only in Git.  I added more regression tests, fixed the problems, and updated the documentation to make clear that phony targets are treated just like double-colon targets without prerequisites: they are never used to update included makefiles.

Thanks for the report!

Paul D. Smith <psmith>
Group administrator
Fri 18 Jun 2021 06:35:21 AM UTC, original submission:  

I suggest to add a sentence or two to either '3.3 Including Other Makefiles', '3.5 How Makefiles Are Remade' or '4.6 Phony Targets' to explain that .PHONY included makefiles are re-built as expected but make does not restart and re-read them.

Renaud Pacalet <pacalet>

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by psmith (Posted a comment)
  • -email is unavailable- added by pacalet (Submitted the item)
  • -email is unavailable- added by pacalet
  •  

    Votes

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    History

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-09-06 psmith StatusNone Fixed
        Assigned toNone psmith
        Open/ClosedOpen Closed
        Operating SystemNone Any
        Fixed ReleaseNone 4.4
        Triage StatusNone Medium Effort
    2021-06-18 pacalet Carbon-Copy- Added pacalet

    Back to the top

    Powered by Savane 3.16.
    Corresponding source code