[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MS-Windows build using Posix configury

From: Eli Zaretskii
Subject: Re: MS-Windows build using Posix configury
Date: Sat, 04 May 2013 15:30:19 +0300

> Date: Sat, 4 May 2013 14:00:01 +0200
> From: Dani Moncayo <address@hidden>
> Cc: Emacs development discussions <address@hidden>
> 1. Remove the current info directory file (c:/usr/share/info/dir).
> 2. From bash, execute the command (taken from the Makefile) to re-generate it:
>   /bin/install -c -m 644 /c/emacs/mybranch/info/dir /c/usr/share/info/dir
> This generates an info directory file which has only UNIX-type EOLs,
> and which also has a bit different contents (I'm attaching both
> versions).

But that's not the issue.  The issue is not with /bin/install, which
basically just copies its argument files, the issue is with
/bin/install-info, which _modifies_ c:/usr/share/info/dir by reading
the Info files, which were copied:

      cd ${srcdir}/info ; \
      for elt in ${INFO_NONMISC} $${info_misc}; do \
         test "$(HAVE_MAKEINFO)" = "no" && test ! -f $$elt && continue; \
         for f in `ls $$elt $$elt-[1-9] $$elt-[1-9][0-9] 2>/dev/null`; do \
          (cd $${thisdir}; \
           ${INSTALL_DATA} ${srcdir}/info/$$f $(DESTDIR)${infodir}/$$f); \
           ( [ -n "${GZIP_INFO}" ] && [ -n "${GZIP_PROG}" ] ) || continue ; \
           rm -f $(DESTDIR)${infodir}/$$f.gz; \
           ${GZIP_PROG} -9n $(DESTDIR)${infodir}/$$f; \
         done; \
        (cd $${thisdir}; \
         ${INSTALL_INFO} --info-dir=$(DESTDIR)${infodir} 
$(DESTDIR)${infodir}/$$elt); \

That's why you get a different DIR file: because install-info was not

Perhaps try installing Info files without compressing them, like this:

  make install prefix=/c/usr GZIP_INFO=

Maybe the problem with EOL format only happens when install-info
invokes gzip to decompress the files.

Failing that, I see no other alternative but to use a native port of

reply via email to

[Prev in Thread] Current Thread [Next in Thread]