Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Mar 2023 22:52:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 269663] bmake: Interrupted phony target removes a file
Message-ID:  <bug-269663-227-p55U68PrCb@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-269663-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-269663-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269663

--- Comment #3 from Simon J. Gerraty <sjg@FreeBSD.org> ---
Hi,=20

Yes .PHONY effectively implies .NOPATH

As for needing .PRECIOUS the behavior depends on whether we are in jobs mod=
e.
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269663-227-p55U68PrCb>