[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: file unexpectedly removed

From: Paul Smith
Subject: Re: file unexpectedly removed
Date: Fri, 13 May 2016 08:13:53 -0400

On Thu, 2016-05-12 at 23:50 -0700, Perry Hutchison wrote:
> While looking into something else, I ran into a case where make (3.82)
> removes an intermediate target file after building the final target.
> I had not expected this, and could not find any mention of such 
> behavior in the manual -- nor in the list archives -- although it's 
> certainly possible that I didn't use the right search terms.  Is this 
> in fact normal, or have I perhaps found a bug?

It is expected, and documented:

> The second difference is that if make does create b in order to update
> something else, it deletes b later on after it is no longer needed.
> Therefore, an intermediate file which did not exist before make also
> does not exist after make. make reports the deletion to you by
> printing a ‘rm -f’ command showing which file it is deleting.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]