[EMAIL PROTECTED] (Karl Berry) writes:

> Hi Simon,
>
>     Shouldn't @verbatiminclude use -I's too?
>
> Yes, and as far as I can tell it does.  My simple test worked, and the
> code is calling find_and_load(1) to use path searching in both cases,
> from handle_include in makeinfo/cmds.c.
>
> So something must be different about your situation.  Any ideas?

Hi Karl!  Sorry about the delay, I get delayed...

Looking into this further, it seems the problem wasn't makeinfo but
texi2dvi.  I solved this by putting the following in Makefile.am:

TEXI2DVI = texi2dvi -I $(top_srcdir)/examples
AM_MAKEINFOFLAGS = -I $(top_builddir)/doc -I $(top_srcdir)/examples

This seems somewhat redundant, and hard coding TEXI2DVI = texi2dvi is
sub-optimal too.

Isn't there a better way to tell makeinfo+texi2dvi etc, via automake,
where it should search for *.texi files?

In other words, one central place to specify the -I's for building
*.texi files.

Perhaps this is moving into an automake bug rather than an texinfo
bug, but if you have any ideas, that would be useful.

Thanks,
Simon


_______________________________________________
Texinfo home page: http://www.gnu.org/software/texinfo/
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-texinfo

Reply via email to