bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -I not used by @verbatiminclude?


From: Simon Josefsson
Subject: Re: -I not used by @verbatiminclude?
Date: Fri, 07 Jul 2006 02:01:20 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

address@hidden (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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]