From dc8f59ab445da8d40d65ba75232248288f4b689a Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Sat, 21 Jul 2012 11:57:44 +0200 Subject: [PATCH] [ng] cosmetics: improve a comment * automake.in (generate_makefile): In here, about the generated Makefile baling out if '$(am__seen_error)' has been set by some previous function call. Signed-off-by: Stefano Lattarini --- automake.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/automake.in b/automake.in index 197945ada..08637c0d2 100644 --- a/automake.in +++ b/automake.in @@ -6982,7 +6982,10 @@ sub generate_makefile ($$) # See if any _SOURCES (or _LIBADD, or ...) variable were misspelled. $output_checks .= preprocess_file ("$libdir/am/check-typos.am", MAKEFILE => basename ($makefile)); - # Report errors (if any) seen at make runtime. + # Bail out if we have encountered errors at make runtime. The + # relevant diagnostic should have already been reported by any + # call to the function '$(am.error)', so we just print a generic + # "errors seen, stopping" message. $output_checks .= '$(if $(am__seen_error),' . '$(error Some Automake-NG error occurred))' . "\n"; -- 2.47.2