bug-make
[Top][All Lists]
Advanced

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

Re: Idea: .MUSTCREATE


From: David A. Wheeler
Subject: Re: Idea: .MUSTCREATE
Date: Tue, 11 Jun 2019 19:07:43 -0400

On June 9, 2019 9:50:53 PM EDT, Paul Smith <address@hidden> wrote:
On Sun, 2019-06-09 at 19:21 -0400, David A. Wheeler wrote:
If I understand correctly, that means that a single:
.WONTCREATE:
will be enough to detect a problem if *all* my rules
are supposed to always create the non-PHONY targets.

Yes, that's the idea.
Bug-make mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/bug-make

One tweak. I think there's a risk that someone would use .WONTCREATE on specific target deep within some included makefile, and not realize that it would affect everything.

So I propose that this won't create checking only occur if there is a .WONTCREATE statement with no dependencies. That way, people will not accidentally enable it. I think it's a good idea to enable it, but I also want people to do it on purpose and not by accident.




--- David A.Wheeler
reply via email to

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