Of course, but I also give you a point of thought from user perspective.
That way, the texinfo installation could also handle the additional
make TEXMF=/your/texmf install-tex
texinfo.tex is installed in ${TEXMF}/tex/texinfo/texinfo.tex, etc.
I disagree on the additional tex/texinfo/ part of the installation
Instead install in ${TEXMF}/texinfo.tex, etc.
I have just installed in /home/hagbard/Admir/bin/texinfo/bin
and using make TEXMF=/home/hagbard/Admir/bin/texinfo/bin install-tex
will install /home/hagbard/Admir/bin/texinfo/bin/tex/texinfo/texinfo.tex
The result is a convoluted installation.
Christopher
Old Fart and Curmudgeon
> Sent: Thursday, June 24, 2021 at 5:11 AM
> From: "Gavin Smith" <[email protected]>
> To: "Christopher Dimech" <[email protected]>
> Cc: "Patrice Dumas" <[email protected]>, "help-texinfo gnu"
> <[email protected]>
> Subject: Re: Using a macro makes pdfetex quits and exits with bad status
>
> On Wed, Jun 23, 2021 at 06:38:55PM +0200, Christopher Dimech wrote:
> >
> > That is surprising.
> >
> > Could you introspect a working installation that works like this
> >
> > --------
> >
> > hagbard@fuckup: ~/Admir/build/texinfo
> > ../../source/texinfo/configure --prefix=/home/hagbard/Admir/bin/texinfo
> >
> > make
> >
> > sudo make install
> >
> > ~/Admir/bin/texinfo/bin/texi2pdf 06a-amcoh.texi
>
> You should listen to what Patrice told you. It is not enough just
> to run "make install". You need to copy texinfo.tex somewhere TeX will
> find it.
>