autoconf-patches
[Top][All Lists]
Advanced

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

Re: Can't `make install' Autoconf 2.53b if makeinfo is missing + an OSF


From: Paul Eggert
Subject: Re: Can't `make install' Autoconf 2.53b if makeinfo is missing + an OSF make issue
Date: Mon, 29 Jul 2002 01:30:44 -0700 (PDT)

> From: Alexandre Duret-Lutz <address@hidden>
> Date: 28 Jul 2002 22:05:28 +0200

> Maybe Automake should always use `-o' when a command support it.

Yes, it apparently should.

This prompted me to find a bug in the Autoconf makefile, where it
invoked $(MAKEINFO) with the --output option; this doesn't work if
$(MAKEINFO) is "missing".  I installed the following patch to fix this
and a related problem.

2002-07-29  Paul Eggert  <address@hidden>

        * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
        Replace with:
        (AM_MAKEINFOFLAGS): New macro.
        * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
        * Makefile.am (INSTALL): Use the new macros.
        Use -o rather than --output, since "missing" does not grok --output.

Index: Makefile.am
===================================================================
RCS file: /cvsroot/autoconf/autoconf/Makefile.am,v
retrieving revision 1.80
retrieving revision 1.81
diff -p -u -r1.80 -r1.81
--- Makefile.am 8 Mar 2002 12:44:46 -0000       1.80
+++ Makefile.am 29 Jul 2002 08:23:56 -0000      1.81
@@ -47,9 +47,10 @@ html pdf:
 ## --------- ##
 
 pkgdata_DATA = INSTALL
-MAKEINFO = @MAKEINFO@ --no-headers --no-validate --no-split
+AM_MAKEINFOFLAGS = --no-headers --no-validate --no-split
 INSTALL: $(top_srcdir)/doc/install.texi
-       $(MAKEINFO) $(top_srcdir)/doc/install.texi --output=$(srcdir)/INSTALL
+       $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -o $(srcdir)/INSTALL \
+         $(top_srcdir)/doc/install.texi
 
 maintainer-clean-local:
        -rm -rf autom4te.cache
Index: doc/Makefile.am
===================================================================
RCS file: /cvsroot/autoconf/autoconf/doc/Makefile.am,v
retrieving revision 1.25
retrieving revision 1.26
diff -p -u -r1.25 -r1.26
--- doc/Makefile.am     26 Nov 2001 10:52:46 -0000      1.25
+++ doc/Makefile.am     29 Jul 2002 08:24:51 -0000      1.26
@@ -18,7 +18,7 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
-MAKEINFO = @MAKEINFO@ --no-split
+AM_MAKEINFOFLAGS = --no-split
 TEXI2HTML = texi2html
 TEXI2HTML_FLAGS = -split_chapter
 



reply via email to

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