Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Nov 2021 17:32:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 259886] make removes existing file with the same name as PHONY target on interrupt
Message-ID:  <bug-259886-227-OT1qA09SlO@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-259886-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=259886

--- Comment #1 from Simon J. Gerraty <sjg@FreeBSD.org> ---
bmake is not gmake

the behavior is as documented.
you can either use :: or .PRECIOUS to prevent the target being removed.

Note that .PHONY is unrelated to whether an actual file is created.
Indeed .PHONY is not needed in that case.

-- 
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-259886-227-OT1qA09SlO>