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 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

Add a New Comment Rich Markup
   

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>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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
  •  

    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.

     

    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.13-4b48.
    Corresponding source code