bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #61226] A regression prevents generation of missing included depend


From: Paul D. Smith
Subject: [bug #61226] A regression prevents generation of missing included dependency files.
Date: Mon, 17 Jan 2022 18:59:34 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36

Follow-up Comment #9, bug #61226 (project make):

For now I decided to put back the original behavior (revert the main.c
changes).  I will leave this issue open to think about how to best introduce a
backward-incompatible change that might help in this situation.

I really don't like the idea of creating a distinction between an "empty"
recipe and a "non-empty" recipe.  Just to point out the description in "Rules
without Recipes or Prerequisites" is talking about *NO* recipe vs. some
recipe, not empty recipe vs non-empty recipe.  That is, the difference between
*FORCE:* and *FORCE:;*.  However as I mentioned before it's not actually
required that you don't have a recipe here: any recipe (or no recipe) that
doesn't update the target will serve just as well.  This text is not wrong,
although it could be argued that it's incomplete by not describing all the
other ways a target might be considered up to date in addition to a missing
recipe.

The text in "Including Other Makefiles" was confusing so I modified it to say
this:

> Only after it has failed to find a rule to remake the makefile, or it found
a rule but the recipe failed, will @code{make} diagnose the missing makefile
as a fatal error.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61226>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]