automake-patches
[Top][All Lists]
Advanced

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

[PATCH] Fixed typo in Makefile.am (extra semicolon removed)


From: Stefano Lattarini
Subject: [PATCH] Fixed typo in Makefile.am (extra semicolon removed)
Date: Sun, 27 Dec 2009 16:06:14 +0100
User-agent: KMail/1.12.1 (Linux/2.6.30-2-686; KDE/4.3.2; i686; ; )

Without this patch, an error message in the maintainer-check rule
`sc_diff_automake_in_automake' goes to stdout rather than to stderr.
This is due to a small typo in the target's rules, i.e. an extra
semicolon before `1>&2').
The fix is obvious: just remove the extra semicolon.

Regards,
     Stefano
From 2efd30760e3e5b323f0da13a4e1a0e69cf0fbec8 Mon Sep 17 00:00:00 2001
From: Stefano Lattarini <address@hidden>
Date: Sun, 27 Dec 2009 15:52:38 +0100
Subject: [PATCH] Fixed typo in Makefile.am (extra semicolon removed)

* Makefile.am (sc_diff_automake_in_automake): Removed an extra
semicolon in target's rules, which prevented a stdout redirection
from working.
---
 ChangeLog   |    7 +++++++
 Makefile.am |    2 +-
 Makefile.in |    2 +-
 3 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 399a33e..44b3d10 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-12-27  Stefano Lattarini  <address@hidden>
+
+       Fixed typo in Makefile.am (extra semicolon removed)
+       * Makefile.am (sc_diff_automake_in_automake): Removed an extra
+       semicolon in target's rules, which prevented a stdout redirection
+       from working.
+
 2009-12-21  Julien Danjou  <address@hidden>  (tiny change)
 
        Add support for newer python version
diff --git a/Makefile.am b/Makefile.am
index 0c3f438..f4689d4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -204,7 +204,7 @@ maintainer-check: $(syntax_check_rules)
 ## to 22 lines of diffs.
 sc_diff_automake_in_automake:
        @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 22; then \
-         echo "found too many diffs between automake.in and automake"; 1>&2; \
+         echo "found too many diffs between automake.in and automake" 1>&2; \
          diff -c $(srcdir)/automake.in automake; \
          exit 1; \
        fi
diff --git a/Makefile.in b/Makefile.in
index d038a5c..462938e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -944,7 +944,7 @@ maintainer-check: $(syntax_check_rules)
 
 sc_diff_automake_in_automake:
        @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 22; then \
-         echo "found too many diffs between automake.in and automake"; 1>&2; \
+         echo "found too many diffs between automake.in and automake" 1>&2; \
          diff -c $(srcdir)/automake.in automake; \
          exit 1; \
        fi
-- 
1.6.5


reply via email to

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