On June 9, 2019 9:50:53 PM EDT, Paul Smith <psm...@gnu.org> 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
>Bug-make@gnu.org
>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
_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to