[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: .DELETE_ON_ERROR
From: |
Paul Smith |
Subject: |
RE: .DELETE_ON_ERROR |
Date: |
Fri, 02 Dec 2011 15:37:54 -0500 |
On Fri, 2011-12-02 at 16:51 +0100, Warlich, Christof wrote:
> it looks like the target of a rule is not deleted in case of an error
> within that rule and in the presence of a .DELETE_ON_ERROR target if
> that target is a directory.
> To me, not deleting directories in this scenario looks like a flaw. Do
> you agree? Is it going to be fixed?
I don't really agree, no. At the very most, it might be possible to
delete a directory if it's empty. I don't think it would be a good idea
to delete a non-empty directory if the rule fails; that could be
disastrous.
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://make.mad-scientist.net
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist