Document .DELETE_ON_ERROR.

This commit is contained in:
dholland 2016-08-26 23:37:54 +00:00
parent 9d33465685
commit 7f48560292
1 changed files with 10 additions and 2 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: make.1,v 1.262 2016/08/18 19:23:20 wiz Exp $
.\" $NetBSD: make.1,v 1.263 2016/08/26 23:37:54 dholland Exp $
.\"
.\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@ -29,7 +29,7 @@
.\"
.\" from: @(#)make.1 8.4 (Berkeley) 3/19/94
.\"
.Dd August 15, 2016
.Dd August 26, 2016
.Dt MAKE 1
.Os
.Sh NAME
@ -2010,6 +2010,14 @@ variable of a target that inherits
.Ic .DEFAULT Ns 's
commands is set
to the target's own name.
.It Ic .DELETE_ON_ERROR
If this target is present in the makefile, it globally causes make to
delete targets whose commands fail.
(By default, only targets whose commands are interrupted during
execution are deleted.
This is the historical behavior.)
This setting can be used to help prevent half-finished or malformed
targets from being left around and corrupting future rebuilds.
.It Ic .END
Any command lines attached to this target are executed after everything
else is done.