[Top][All Lists]

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

FIX for distcheck-hook problem (automake 1.4-p1)

From: Steve M. Robbins
Subject: FIX for distcheck-hook problem (automake 1.4-p1)
Date: Sat, 12 May 2001 02:20:42 -0400
User-agent: Mutt/1.3.17i


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!


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  <address@hidden>

        * (handle_dist): Fix makefile fragment emitted when a
        distcheck-hook is defined.

--- 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 \\

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

reply via email to

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