Re: Building .info from multiple .texi files via % wildcard

Eli Zaretskii <[email protected]> Mon, 27 Apr 2026 05:31:42 +0300
Newsgroups gmane.comp.gnu.make.general
Message-ID <[email protected]>
> Date: Sun, 26 Apr 2026 21:55:01 +0000
> From: Heime <[email protected]>
> 
> 
> -------- --------------------------------------------------------
> I have scrutinised the Emacs Makefile.in (located in doc/emacs).
> 
> EMACSSOURCES specifies a list of .texi source files.  The implication
> is that the Emacs manual is a single Info file built from many source 
> files, so rule like the below would not work.
> 
> $(trgdir)/%.info: $(srcdir)/%.texi
> 
> Is the statement correct.

Yes.

> I have been under the conviction that
> %.texi processes all .texi files present in the sources directory.

No, %.texi can only match a single file.  Suggest to re-read its
description in the GNU Make manual.