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