Subject: Re: bug#23122: 25.1.50; Makefile target install-info tries to install deleted info files

From: Fran Litterio <[email-masked]>
Date: Sat, 26 Mar 2016 20:09:28 +0000 (UTC)

Eli Zaretskii <eliz <at> gnu.org> writes:

> > From: flitterio <at> gmail.com (Francis Litterio)
...
> > This command near the end:
> > 
> >   ${INSTALL_INFO} --info-dir="$(DESTDIR)${infodir}"
"$(DESTDIR)${infodir}/$$elt")
> > 
> > refers to info file $(DESTDIR)${infodir}/$$elt, but that file has been
> > deleted by this preceding gzip command:
> > 
> >   ${GZIP_PROG} -9n "$(DESTDIR)${infodir}/$$f"
> > 
> > because the -n switch tells gzip to delete the file being compressed.
...
> The above works for me here.
> 
> Could it be that your version of the install-info program doesn't
> support compressed Info files?  What version of Texinfo do you have
> installed?

The output of "install-info --version" is:

   install-info (GNU texinfo) 4.13

> >  'configure --prefix=c:/apps/emacs --without-x --without-xpm
> >  --without-png --without-jpeg --without-tiff --without-gif'
> 
> The file nt/INSTALL recommends to use /c/apps/emacs instead of
> c:/apps/emacs as the argument to --prefix.  This could be related to
> your problem, but even if not, my advice is to do as nt/INSTALL says.

That was the cause.  Changing my configure command to use
"--prefix /c/apps/emacs" fixes the problem on my Windows machine.
It appears that version 4.13 of MinGW/MSYS install-info is confused
by the drive letter in the pathname.  I'll pursue this with the MinGW
folks.

Thanks, Eli.
--
Fran
flitterio <at> gmail.com