Re: Idea: .MUSTCREATE

2019-06-11 Thread David A. Wheeler
On June 9, 2019 9:50:53 PM EDT, Paul Smith 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. > >Y

Re: Idea: .MUSTCREATE

2019-06-09 Thread Paul Smith
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. ___

Re: Idea: .MUSTCREATE

2019-06-09 Thread David A. Wheeler
On Sun, 09 Jun 2019 18:34:47 -0400, Paul Smith wrote: > A pseudo-target .WONTCREATE: > If that target exists in the makefile then the target existence > checking is enabled, as follows: > - Any PHONY rule is not considered > - After any target is built that actually invoked at least one command, >

Re: Idea: .MUSTCREATE

2019-06-09 Thread Paul Smith
On Sun, 2019-06-09 at 17:13 -0400, David A. Wheeler wrote: > I propose a new special target .MUSTCREATE. > Its prerequisites would list the targets that would fail in error > if the target rule is run and it fails to create the target. > If there's nothing on the list, then all non-.PHONY targets w