1 # $NetBSD: varname-make_print_var_on_error-jobs.mk,v 1.1 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 # The variable .ERROR_CMD contains all commands of the target, with variable
7 # expressions expanded, just as they were printed to the shell command file.
9 # The commands in .ERROR_CMD are space-separated. Since each command usually
10 # contains spaces as well, this value is only intended as a first hint to what
11 # happened. For more details, use the debug options -de, -dj, -dl, -dn, -dx.
13 # As of 2020-10-23, .ERROR_CMD only works in parallel mode.
16 MAKE_PRINT_VAR_ON_ERROR= .ERROR_TARGET .ERROR_CMD
21 @: command after${:U, with variable expressions expanded}