help-texinfo
[Top][All Lists]
Advanced

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

Re: Including files from parent dir


From: Michael Eager
Subject: Re: Including files from parent dir
Date: Wed, 14 Sep 2022 09:25:20 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0

On 9/13/22 17:14, Stefan Monnier wrote:

There's something I don't understand about @include:

Say, I have:

     doc/foo.texi
     doc/gpl.texi
     bar.texi

if my `foo.texi` has

     @include gpl.texi
     @include ../bar.texi

I will be able to use successfully both

     cd doc; makeinfo --no-split foo.texi -o ../foo.info

will work fine, but

     makeinfo --no-split doc/foo.texi -o foo.info

will signal an error that it can't find `../bar.texi`
(note: it *did* find `gpl.texi`).

Why are the two includes treated differently?
How can I convince `makeinfo` to find the `bar.texi` file in both cases?

Have you tried the -I <directory> option?




reply via email to

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