]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
[ng] cosmetics: improve a comment
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 21 Jul 2012 09:57:44 +0000 (11:57 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 21 Jul 2012 11:55:00 +0000 (13:55 +0200)
* 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 <stefano.lattarini@gmail.com>
automake.in

index 197945ada95f9766bce2a7d02214f23c3ef95df6..08637c0d23fc2355e0b91531303eebf4d9db8171 100644 (file)
@@ -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";