[Bug 269663] bmake: Interrupted phony target removes a file

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 17 Mar 2023 22:52:19 UTC

--- Comment #3 from Simon J. Gerraty <sjg@FreeBSD.org> ---

Yes .PHONY effectively implies .NOPATH

As for needing .PRECIOUS the behavior depends on whether we are in jobs mode.
JobDeleteTarget will skip for PHONY as well as PRECIOUS
but CompatDeleteTarget only looks at PRECIOUS - that should be fixed.

Right now you need .PRECIOUS to protect your .PHONY target in compat mode.

You are receiving this mail because:
You are the assignee for the bug.