automake-ng
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Automake-NG] [PATCH 06/33] [ng] cosmetics: improve a comment


From: Stefano Lattarini
Subject: [Automake-NG] [PATCH 06/33] [ng] cosmetics: improve a comment
Date: Sat, 21 Jul 2012 14:55:38 +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 <address@hidden>
---
 automake.in |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/automake.in b/automake.in
index 197945a..08637c0 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";
-- 
1.7.10.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]