This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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
positive.

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

Hi,

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) distcheck-hook
	...

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!

-Steve



--- old/automake-1.4-p1/automake.in	Tue May  8 16:25:43 2001
+++ automake-1.4-p1/automake.in	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
kevind@rahul.net

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]