Hi Eric,

Eric Blake wrote:
> It's not that simple - both the html and the info manual are generated
> from the same source, which previously had no URL, and it would be nicer
> if the html version could link to a user's local html installation if one
> exists rather than always having a URL to the web.  But I tested the
> following patch, which at least gives a non-broken link (and makes it
> easier to generate the html manual in the 1.4.x series):
> 
> 2006-05-23  Eric Blake  <[EMAIL PROTECTED]>
> 
>       * Makefile.in (html): New target.
>       * doc/Makefile.in (html, m4.html): Likewise.
>       (MAKEINFOHTML): New macro.
>       * doc/m4.texinfo (Francois) [ifnottex]: Use newer texinfo
>       rendering.
>       (Regexp) [ifhtml]: Make cross-reference to emacs manual an
>       absolute URL.
>       Reported by Bob Badour.
> 
> Any reason I should not apply it?

I concur that a relative link to a user's local html installation would
be preferable.  Maybe we could add an install-hook rule that looks for
the referenced page in a sibling directory, and pokes that value in
using sed?

Your patch is already a step forward though, so feel free to commit
as is if you haven't the time to work on an install-hook.

Cheers,
        Gary.
-- 
Gary V. Vaughan      ())_.  [EMAIL PROTECTED],gnu.org}
Research Scientist   ( '/   http://blog.azazil.net
GNU Hacker           / )=   http://trac.azazil.net/projects/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
M4-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/m4-patches

Reply via email to