This is the mail archive of the mailing list for the GCC project.

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

Re: has makeinfo gone nuts?

That sounded like approval, so I just committed this.

        * (MAKEINFO): Use makeinfo built from sibling
        tree when available.

>   > I'm guessing that's indeed the case.   From the toplevel objdir, a 'make'
>   > will DTRT.   It's only when done from within gcc/ that it uses the wrong
>   > one.   Perhaps this patch will inspire someone:
> The patch seems reasonable to me.  It's similar to how we handle other
> host side programs.

RCS file: /egcs/carton/cvsfiles/egcs/gcc/,v
retrieving revision 1.234
diff -u -p -r1.234
--- 1999/03/02 00:59:28     1.234
+++ 1999/03/02 15:36:22
@@ -99,7 +99,9 @@ LN_S=@LN_S@
 # These permit overriding just for certain files.
-MAKEINFO = makeinfo
+MAKEINFO = `if [ -f $(objdir)/../texinfo/makeinfo/Makefile ] ; \
+       then echo $(objdir)/../texinfo/makeinfo/makeinfo ; \
+       else echo makeinfo ; fi`
 TEXI2DVI = texi2dvi
 # For GNUmake: let us decide what gets passed to recursive makes.

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