Re: Texinfo 7.2.90 build with mingw.org's MinGW: testing [info]

Eli Zaretskii <[email protected]>
Newsgroups gmane.comp.tex.texinfo.bugs
Message-ID <[email protected]>
> From: Gavin Smith <[email protected]>
> Date: Tue, 20 Jan 2026 19:42:57 +0000
> Cc: [email protected], [email protected]
> 
> On Tue, Jan 20, 2026 at 09:38:22PM +0200, Eli Zaretskii wrote:
> > > > I wrote such a batch file, it is an almost exact equivalent of the
> > > > manual-not-found shell script.
> > > > 
> > > > On significant change I needed to make is to place the small Awk
> > > > program used by the script on a separate file.  That's because command
> > > > lines on Windows cannot include embedded newlines.  If that is okay, I
> > > > can send a patch to add the batch file and the necessary glue to
> > > > Makefile.am.
> > > 
> > > Yes, that sounds fine.
> > 
> > OK, will send in a couple of days.
> > 
> > > Could you put installing the batch file and Awk program in a condition
> > > so it is only installed on Windows?
> > 
> > Is using the HOST_IS_WINDOWS thingy for this okay?
> 
> Yes, that Automake conditional is used in several places in our Makefile.am
> files.

I attach the patch as a binary attachment, to avoid mangling of the
end-of-line format of the batch file.  In any case, when you commit
the changes, please verify that the manual-not-found.cmd file has
Windows-style CRLF end-of-line format.  (The Windows shell on recent
Windows systems is fine with batch files with Unix-style EOLs, but
better be safe than sorry.)
DIFFS_hook (application/octet-stream, 2.2 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.