1 # $NetBSD: varname-make_print_var_on_error.mk,v 1.4 2020/10/23 06:18:23 rillig Exp $
3 # Tests for the special MAKE_PRINT_VAR_ON_ERROR variable, which prints the
4 # values of selected variables on error.
6 # XXX: As of 2020-10-23, the .ERROR_CMD variable is pointless in compat mode
7 # since at the point where it is filled in PrintOnError, the first command in
8 # gn->commands has been set to NULL already. This leaves .ERROR_CMD an empty
11 MAKE_PRINT_VAR_ON_ERROR= .ERROR_TARGET .ERROR_CMD