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/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269663

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

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.

home | help

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