bug-make
[Top][All Lists]
Advanced

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

[bug #61226] Missing included files that have rules don't show as an err


From: Paul D. Smith
Subject: [bug #61226] Missing included files that have rules don't show as an error
Date: Tue, 18 Jan 2022 14:01:38 -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 #11, bug #61226 (project make):

In the abstract, it seems to me that if a user asks to include a file and that
file doesn't exist, that the include should generate some kind of error.

However, maybe you're right that if a rule exists that tells make how to build
that included file we should not generate an error as long as the recipe for
that rule doesn't fail, even if the included file still doesn't exist after
the recipe is run.

I'm still not excited about the idea of distinguishing recipes that are empty,
versus recipes that are not empty but don't update the target file.

    _______________________________________________________

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]