This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Fix binutils html target.
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: Carlos O'Donell <carlos at codesourcery dot com>, binutils at sourceware dot org
- Date: Fri, 17 Feb 2006 13:24:54 +0000 (UTC)
- Subject: Re: [PATCH] Fix binutils html target.
- References: <20060216180009.GA30730@lios> <43F5BB5C.3050601@redhat.com>
On Fri, 17 Feb 2006, Nick Clifton wrote:
> Hi Carlos,
>
> > These patches enable building the binutils html target.
>
> These seem to be OK, apart from one thing:
>
> -TEXI2HTML = texi2html
> +TEXI2HTML = `if [ -f ../texinfo/makeinfo/makeinfo ]; \
> + then echo "../texinfo/makeinfo/makeinfo --html"; \
> + else echo "makeinfo --html"; fi`
> +
>
> Why is the use of texi2html being abandoned ? If the makeinfo program is not
> installed or present in the build tree, shouldn't the texi2html program be
> used instead ?
These programs are not compatible in their command-line options. In
general texi2html cannot be relied upon to support the required Texinfo
language features, whereas a makeinfo version check ensures that it does
support the required features (and the in-tree copy of texinfo.tex should
be of a suitable version to support them - a more recent version might
need to be imported - and be used by -I options on all texi2dvi uses).
The GNU Coding Standards suggest "makeinfo --no-split --html" as the
proper TEXI2HTML definition.
--
Joseph S. Myers
joseph@codesourcery.com