[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Including files from parent dir
From: |
Stefan Monnier |
Subject: |
Including files from parent dir |
Date: |
Tue, 13 Sep 2022 20:14:48 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
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?
Stefan