1# $NetBSD: deptgt-end-fail-all.mk,v 1.2 2020/12/07 01:04:07 rillig Exp $ 2# 3# Test whether the commands from the .END target are run even if there is 4# an error before. The manual page says "after everything else is done", 5# which leaves room for interpretation. 6# 7# Until 2020-12-07, the .END node was made even if the main nodes had failed. 8# This was not intended since the .END node had already been skipped if a 9# dependency of the main nodes had failed, just not if one of the main nodes 10# themselves had failed. This inconsistency was not worth keeping. To run 11# some commands on error, use the .ERROR target instead, see deptgt-error.mk. 12 13all: .PHONY 14 : Making ${.TARGET} out of nothing. 15 false 16 17.END: 18 : Making ${.TARGET} out of nothing. 19 false 20