--- Paul Sokolovsky <pfalcon@...> wrote:
> Why convert info when html can be generated directly from texinfo
> makeinfo --help
> Usage: makeinfo [OPTION]... TEXINFO-FILE...
Ah, thanks. I can't know everything, I just try to act like I do. ;^) So the
work will be modifying the Makefile.in and configure.in to use those switches
--- <http://earniesystems.safeshopper.com> ---
--- Cygwin: POSIX on Windows <http://gw32.freeyellow.com/> ---
--- Minimalist GNU for Windows <http://www.mingw.org/> ---
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
From: Paul Sokolovsky <pfalcon@us...> - 2000-11-22 20:33:21
Earnie Boyd wrote on Wednesday, November 22, 2000:
EB> --- Paul Sokolovsky <pfalcon@...> wrote:
>> Why convert info when html can be generated directly from texinfo
>> makeinfo --help
>> Usage: makeinfo [OPTION]... TEXINFO-FILE...
EB> Ah, thanks. I can't know everything, I just try to act like I do. ;^) So the
EB> work will be modifying the Makefile.in and configure.in to use those switches
EB> for MinGW.
Even easier! GNU configure in fact quite elaborated and flexible
building environment. Here's my current Build.sh for ld:
MAKEINFO='makeinfo --html --no-split --no-validate -o $@' \
CFLAGS=-O2 ./configure --prefix=/mingw --host=mingw32 \
# This isn't used for info. It's a bug. Should be reported.
The first part takes care of producing 'ld.info' file which in
fact HTML. Since it's named as would info, it also can be installed
via standard means. But heck, it needs to be renamed afterwards! (not
that it should have double suffix - that's what cross-manual references
have). That sucks, so I tried commented part. Unfortunately,
--program-transform-name doesn't work for info install ;-( . Well,
intead, I drop following script, called install-info, into build dir:
# A quick hack to have html docs be installed properly
if [ $# == 2 ];
echo mv $2 $2.html
mv $2 $2.html
echo "install-info-html wrapper"
When installing doc, make target uses standard install-info
utility (which copies file and adds entry to info directory for it),
but here it is overrdiden and copies html, properly named.
No patches, only clean overrides - GNU build tools rule ;-)
EB> Earnie Boyd
Paul Sokolovsky, IT Specialist