automake-patches
[Top][All Lists]
Advanced

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

Re: [PATCH] Use here-document when printing out version in aclocal


From: Alexandre Duret-Lutz
Subject: Re: [PATCH] Use here-document when printing out version in aclocal
Date: Wed, 17 Nov 2004 23:45:52 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

>>> "Art" == Art Haas <address@hidden> writes:

 Art> Hi.
 Art> This small patch changes the version printout routine in aclocal to be
 Art> similiar to that in automake. Also, it removes the blank line that gets
 Art> printed before the version string.

Thanks for catching this, I'm checking it in as follows.
Please always send ChangeLog entries along with patches when
contributing to GNU projects.

2004-11-17  Alexandre Duret-Lutz  <address@hidden>

        * aclocal.in (version): Remove initial blank line and reproduce
        the layout of automake --version.  From Art Haas.

Index: aclocal.in
===================================================================
RCS file: /cvs/automake/automake/aclocal.in,v
retrieving revision 1.116
diff -u -r1.116 aclocal.in
--- aclocal.in  17 Nov 2004 22:36:53 -0000      1.116
+++ aclocal.in  17 Nov 2004 22:42:30 -0000
@@ -606,13 +606,15 @@
 # Print version and exit.
 sub version()
 {
-  print "\
+  print <<EOF;
 aclocal (GNU $PACKAGE) $VERSION
 Written by Tom Tromey <address@hidden>
-       and Alexandre Duret-Lutz <address@hidden>
+       and Alexandre Duret-Lutz <address@hidden>.
+
 Copyright (C) 2004 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
-warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.";
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+EOF
   exit 0;
 }
 

-- 
Alexandre Duret-Lutz





reply via email to

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