[Top][All Lists]

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

Re: More makefile oddities (was: Suspicious path issues...)

From: Matthias Kilian
Subject: Re: More makefile oddities (was: Suspicious path issues...)
Date: Fri, 11 Mar 2005 21:41:57 +0100
User-agent: Mutt/1.4.2i

Again selfquoting...

On Fri, Mar 11, 2005 at 05:18:16PM +0100, Matthias Kilian wrote:
> Date: Fri, 11 Mar 2005 17:18:16 +0100
> From: Matthias Kilian <address@hidden>
> To: address@hidden
> Message-ID: <address@hidden>
> Subject: More makefile oddities (was: Suspicious path issues...)
> X-CRM114-Status: Good  ( pR: 195.7705 )
> Hi,
> On Thu, Mar 10, 2005 at 08:00:18PM +0100, Matthias Kilian wrote:
> However, I now have the problem that gmake doesn't correctly recognize
> the dependency below resp. does really odd things to $(OUT_*_IMAGES)
> $ gmake out=www bar
> gmake: *** No rule to make target `/baer-flat-bw.eps', needed by `bar'.  Stop.

Solved. I used to run MAKEINFO=/usr/local/bin/makeinfo sh,
since OpenBSD's own texinfo is too old and I'd to install a newer
one in /usr/local.

This, however, breaks the check for SPLITTING_MAKEINFO in aclocal.m4
(see patch below), which in turn disables the rule

$(outdir)/lilypond.dvi: $(OUT_EPS_IMAGES) $(OUT_PNG_IMAGES)

and the png and eps rules in Documentation/user/GNUmakefile, since
those rules are in an ifeq($(SPLITTING_MAKEINFO),yes) block.

My quick hack just changes the aclocal check (note that there are
some more such tests in aclocal), but IMHO, the ifeq magic in the
GNUmakefile is wrong and should be removed. But I could be wrong.

--- stepmake/aclocal.m4.orig    Sat Feb 12 13:05:02 2005
+++ stepmake/aclocal.m4 Fri Mar 11 18:07:07 2005
@@ -846,7 +846,7 @@ AC_DEFUN(STEPMAKE_LOCALE, [
     STEPMAKE_PROGS(MAKEINFO, makeinfo, $1)
-    if test "$MAKEINFO" = "makeinfo"; then
+    if test `basename "$MAKEINFO"` = "makeinfo"; then
        AC_MSG_CHECKING(whether makeinfo can split html by @node)
        mkdir -p out
        makeinfo --html --output=out/split <<EOF


ps: I've found some additional compatibility problems in the
autoconf/stepmake/gmake magic, and I may find more in the next days.
Should I report those to bugs@ or for discussion on this mailinglist?

I don't care what gutter Wim is lying in, make sure he's lying on
his back, please!
[Marc Espie on]

reply via email to

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