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
P.S. I have no clue if this affects automake CVS. But a 1.4-p2 would
be appreciated!
2001-05-12 Steve M. Robbins <[EMAIL PROTECTED]>
* automake.in (handle_dist): Fix makefile fragment emitted when a
distcheck-hook is defined.
--- 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 \\
--
by Rocket to the Moon,
by Airplane to the Rocket,
by Taxi to the Airport,
by Frontdoor to the Taxi,
by throwing back the blanket and laying down the legs ...
- They Might Be Giants