From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: MS-Windows build using Posix configury Date: Sat, 04 May 2013 15:30:19 +0300 Message-ID: <83wqrfkjvo.fsf@gnu.org> References: <83d2tu49lu.fsf@gnu.org> <8338un359j.fsf@gnu.org> <831ua72fml.fsf@gnu.org> <83ehe51zi4.fsf@gnu.org> <837gjx1vpx.fsf@gnu.org> <83a9otys0h.fsf@gnu.org> <834nezzzma.fsf@gnu.org> <8361z2psr1.fsf@gnu.org> <83zjweo5dh.fsf@gnu.org> <83sj25nym2.fsf@gnu.org> <837gjhnowi.fsf@gnu.org> <8338u4o39r.fsf@gnu.org> <83zjwbkmt2.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1367670645 16746 80.91.229.3 (4 May 2013 12:30:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 May 2013 12:30:45 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dani Moncayo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 04 14:30:43 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UYbbt-0003Yt-3m for ged-emacs-devel@m.gmane.org; Sat, 04 May 2013 14:30:41 +0200 Original-Received: from localhost ([::1]:51875 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYbbs-0003U0-KU for ged-emacs-devel@m.gmane.org; Sat, 04 May 2013 08:30:40 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51541) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYbbo-0003Tt-PF for emacs-devel@gnu.org; Sat, 04 May 2013 08:30:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UYbbn-00018U-S3 for emacs-devel@gnu.org; Sat, 04 May 2013 08:30:36 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:40405) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYbbn-000184-Jm for emacs-devel@gnu.org; Sat, 04 May 2013 08:30:35 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MM900K00X9P4O00@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Sat, 04 May 2013 15:30:33 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MM900K7BXEX3H40@a-mtaout21.012.net.il>; Sat, 04 May 2013 15:30:33 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:159290 Archived-At: > Date: Sat, 4 May 2013 14:00:01 +0200 > From: Dani Moncayo > Cc: Emacs development discussions > > 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); \ done) That's why you get a different DIR file: because install-info was not invoked. 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 Texinfo.