11.2Srillig# $NetBSD: deptgt-end-fail-all.mk,v 1.2 2020/12/07 01:04:07 rillig Exp $
21.1Srillig#
31.1Srillig# Test whether the commands from the .END target are run even if there is
41.1Srillig# an error before.  The manual page says "after everything else is done",
51.1Srillig# which leaves room for interpretation.
61.2Srillig#
71.2Srillig# Until 2020-12-07, the .END node was made even if the main nodes had failed.
81.2Srillig# This was not intended since the .END node had already been skipped if a
91.2Srillig# dependency of the main nodes had failed, just not if one of the main nodes
101.2Srillig# themselves had failed.  This inconsistency was not worth keeping.  To run
111.2Srillig# some commands on error, use the .ERROR target instead, see deptgt-error.mk.
121.1Srillig
131.1Srilligall: .PHONY
141.1Srillig	: Making ${.TARGET} out of nothing.
151.1Srillig	false
161.1Srillig
171.1Srillig.END:
181.1Srillig	: Making ${.TARGET} out of nothing.
191.1Srillig	false
20