[Top][All Lists]

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

distcheck fails with distcheck-hook in automake-1.4-p1

From: Kevin Dalley
Subject: distcheck fails with distcheck-hook in automake-1.4-p1
Date: 24 May 2001 02:26:35 -0700
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)

Here's another bug which appears in 1.4-p1 as distributed by Debian.
The latest CVS release handles this problem differently.  I believe
that the problem is fixed in the CVS release, but I'm not absolutely

It would be nice to get a fix in automake-1.4-p2.


I tried the new automake 1.4-p1 and discovered a bug.  If a distcheck-hook
is defined, part of the distcheck rule looks like

        mkdir $(distdir)/=build
        mkdir $(distdir)/=inst
        dc_install_base=`cd $(distdir)/=inst && pwd`; \ $(MAKE) $(AM_MAKEFLAGS) 

And make balks at this line.  The fix (below) is to put the "$(MAKE)
... distcheck-hook" on a separate line.  And put a semicolon after it!


--- old/automake-1.4-p1/     Tue May  8 16:25:43 2001
+++ automake-1.4-p1/ Sat May 12 02:07:37 2001
@@ -2555,8 +2555,8 @@
        mkdir $(distdir)/=inst
        dc_install_base=`cd $(distdir)/=inst && pwd`; \\'
                          . (&target_defined ('distcheck-hook')
-                            ? ("\t\$(MAKE) \$(AM_MAKEFLAGS)"
-                               . " distcheck-hook")
+                            ? ("\n\t\$(MAKE) \$(AM_MAKEFLAGS)"
+                               . " distcheck-hook; \\")
                             : '')
                          . '
        cd $(distdir)/=build \\

-- System Information
Debian Release: testing/unstable
Kernel Version: Linux riemann 2.4.4 #1 Thu May 10 19:06:16 EDT 2001 i686 unknown

Versions of the packages automake depends on:
ii  autoconf                     2.50-1                       automatic 
configure script builder
ii  autotools-dev                20010511.2                   Update 
infrastructure for config.{guess,sub} files

Kevin Dalley

reply via email to

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