autoconf-commit
[Top][All Lists]
Advanced

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

[SCM] GNU Autoconf source repository branch, master, updated. v2.61a-285


From: Jim Meyering
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.61a-285-g86328d8
Date: Tue, 13 Nov 2007 08:40:18 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf source repository".

http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=86328d8c4331758d936f1b9fc9dc5866f68096c6

The branch, master has been updated
       via  86328d8c4331758d936f1b9fc9dc5866f68096c6 (commit)
      from  9b0314cc939e888257727f152a700eea86c15a24 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 86328d8c4331758d936f1b9fc9dc5866f68096c6
Author: Jim Meyering <address@hidden>
Date:   Tue Nov 13 09:34:52 2007 +0100

    Clean up the rule to create "expr".
    
    * tests/Makefile.am (expr): Don't redirect directly to target.
    Redirect just once, not for each echo statement.
    Use $@, not literal "expr".

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog         |    7 +++++++
 tests/Makefile.am |   19 +++++++++++--------
 2 files changed, 18 insertions(+), 8 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 79c6cc1..86cccd2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-11-13  Jim Meyering  <address@hidden>
+
+       Clean up the rule to create "expr".
+       * tests/Makefile.am (expr): Don't redirect directly to target.
+       Redirect just once, not for each echo statement.
+       Use $@, not literal "expr".
+
 2007-11-13  Paul Eggert  <address@hidden>
 
        Don't worry about preprocessor when testing long long.
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 4cf7fd1..fd15563 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -195,14 +195,17 @@ maintainer-check: maintainer-check-posix 
maintainer-check-c++
 # The hairy heredoc is more robust than using echo.
 CLEANFILES += expr
 expr:
-       echo '#! $(SHELL)'            >expr
-       echo 'result=`$(EXPR) "$$@"`'>>expr
-       echo 'estatus=$$?'           >>expr
-       echo 'cat <<EOF'             >>expr
-       echo '$${result:-0}'         >>expr
-       echo 'EOF'                   >>expr
-       echo 'exit $$estatus'        >>expr
-       chmod +x expr
+       :;{                                     \
+         echo '#! $(SHELL)';                   \
+         echo 'result=`$(EXPR) "$$@"`';        \
+         echo 'estatus=$$?';                   \
+         echo 'cat <<EOF';                     \
+         echo '$${result:-0}';                 \
+         echo 'EOF';                           \
+         echo 'exit $$estatus';                \
+       } > address@hidden
+       chmod +x address@hidden
+       mv address@hidden $@
 
 # Try the test suite with more severe environments.
 maintainer-check-posix: expr


hooks/post-receive
--
GNU Autoconf source repository




reply via email to

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