automake-patches
[Top][All Lists]
Advanced

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

Re: automake 1.7.7 generates suspicious Makefile.in


From: Alexandre Duret-Lutz
Subject: Re: automake 1.7.7 generates suspicious Makefile.in
Date: Fri, 26 Sep 2003 18:08:31 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

>>> "Bruno" == Bruno Haible <address@hidden> writes:

 Bruno> Hi,

 Bruno> here is a case where automake 1.7.7 generates a
 Bruno> Makefile.in that contains a lone line starting with a
 Bruno> tab (i.e. a command line outside of any target rule).

Darn.  This is something I fixed on HEAD one month ago and
forgot to backport to the branch.  Thanks for catching it.

I'm installing this on branch-1-7.

2003-09-26  Alexandre Duret-Lutz  <address@hidden>

        * automake.in (file_contents_internal): Do not add newlines before
        empty actions.
        Report from Bruno Haible.

Index: automake.in
===================================================================
RCS file: /cvs/automake/automake/automake.in,v
retrieving revision 1.1365.2.55
diff -u -r1.1365.2.55 automake.in
--- automake.in 6 Sep 2003 05:40:15 -0000       1.1365.2.55
+++ automake.in 26 Sep 2003 16:03:00 -0000
@@ -8435,7 +8435,7 @@
                  &depend ($_, @deps);
                  if ($actions{$_})
                    {
-                     $actions{$_} .= "\n$actions";
+                     $actions{$_} .= "\n$actions" if $actions;
                    }
                  else
                    {
-- 
Alexandre Duret-Lutz





reply via email to

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