> Date: Sat, 25 Apr 2026 13:03:25 +0000 > From: Heime <[email protected]> > Cc: [email protected] > > On Saturday, April 25th, 2026 at 7:40 PM, Eli Zaretskii <[email protected]> wrote: > > > > Date: Sat, 25 Apr 2026 00:09:07 +0000 > > > From: Heime <[email protected]> > > > > > > I want to add the production of pdf and html. How would one > > > change this makefile? > > > > You can see how this is done forEmacs by looking into the > > subdirectories of the doc/ directory in the Emacs source tree. For > > example, in doc/emacs/. > > I can see that you specify all the .texi source files. I am using > rule where I do not specify the files. What is the reason for doing > so, and I do the same? > > $(trgdir)/%.info: $(srcdir)/%.texi
This is okay if your manual has a single source file. The Emacs manual is a single Info file built from many source files, so the above rule would not work. > Also noticed you use texi2pdf. makeinfo should be the same as > texi2any, why is texi2pdf preferred? I was going to use makeinfo > to do everything. Yes, you can use makeinfo for everything.
