From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Peter 'Luna' Runestig" Newsgroups: gmane.emacs.devel Subject: Re: Your Emacs changes Date: Tue, 19 Aug 2003 09:59:08 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <3F41D8CC.5000005@runestig.com> References: <2427-Tue19Aug2003095146+0300-eliz@elta.co.il> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1061280217 5007 80.91.224.253 (19 Aug 2003 08:03:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 19 Aug 2003 08:03:37 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Aug 19 10:03:35 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19p1Sp-0000ZJ-00 for ; Tue, 19 Aug 2003 10:03:35 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19p1VY-0003Ry-00 for ; Tue, 19 Aug 2003 10:06:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19p1Rf-0006zj-Bt for emacs-devel@quimby.gnus.org; Tue, 19 Aug 2003 04:02:23 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19p1R4-0006yL-NO for emacs-devel@gnu.org; Tue, 19 Aug 2003 04:01:46 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19p1QY-0006i5-6A for emacs-devel@gnu.org; Tue, 19 Aug 2003 04:01:45 -0400 Original-Received: from [62.108.199.166] (helo=arthur.runestig.com) by monty-python.gnu.org with esmtp (Exim 4.20) id 19p1P6-00066r-83 for emacs-devel@gnu.org; Tue, 19 Aug 2003 03:59:44 -0400 Original-Received: from runestig.com (proxy.datavis.se [212.75.75.66] (may be forged)) by arthur.runestig.com (8.12.9/8.12.1) with ESMTP id h7J7xcVO021816 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 19 Aug 2003 09:59:41 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030809 X-Accept-Language: en-us, en Original-To: Eli Zaretskii In-Reply-To: <2427-Tue19Aug2003095146+0300-eliz@elta.co.il> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:16021 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16021 On 2003-08-19 09:51, Eli Zaretskii wrote: [...] > These patches will probably work only with the Cygwin-compiled ports > of Texinfo and programs such as dvips and rm. > > [There's the fpTeX project which produces native Windows ports of TeX, > DVIware, and related programs, so the assumption that only Cygwin > ports of those programs exist is incorrect. fpTeX is included on the > annual releases of the "TeX Live" CDROM.] I didn't know that, so this is only tested with Cygwin versions of the TeX stuff. > Also, the Makefile says "SHELL = cmd", but commands such as this: > >> +emacs-lisp-intro.dvi: $(INFO_SOURCES) >> + $(ENVADD) $(TEXI2DVI) $(srcdir)/emacs-lisp-intro.texi > > and this: > >> +elisp.dvi: $(srcs) index.texi >> + # Avoid losing old contents of aux file entirely. >> + -mv elisp.aux elisp.oaux >> + # First shot to define xrefs. >> + $(texinputdir) $(TEX) $(srcdir)/elisp.texi >> + if [ a$(permuted_index) != a ]; \ >> + then \ >> + $(srcdir)/permute-index; \ >> + mv permuted.fns elisp.fns; \ >> + texindex elisp.tp; \ >> + else \ >> + texindex elisp.??; \ >> + fi >> + $(texinputdir) $(TEX) $(srcdir)/elisp.texi > > will only work if the shell is actually a port of a Unix shell, such > as Bash, since (AFAIK) CMD doesn't understand the syntax > > "foo=bar some-command" > > and also because texi2dvi is a Unix shell script that CMD cannot run > directly, and because "if [ something" will totally confuse CMD. > >> +dist: elisp elisp.dvi >> + -rm -rf temp >> + -mkdir temp >> + -mkdir temp/$(manual) >> + -ln $(srcdir)/README $(srcdir)/configure.in $(srcdir)/configure \ >> + $(srcdir)/Makefile.in $(srcdir)/permute-index $(srcs) \ >> + $(srcdir)/../man/texinfo.tex \ >> + elisp.dvi elisp.aux elisp.??s elisp elisp-[0-9] elisp-[0-9][0-9] \ >> + temp/$(manual) >> + -(cd temp/$(manual); rm -f mkinstalldirs) >> + cp $(srcdir)/mkinstalldirs temp/$(manual) >> + (cd temp/$(manual); rm -f *~) >> + (cd temp; tar chf - $(manual)) | gzip > $(manual).tar.gz >> + -rm -rf temp > > Since no one will ever prepare an Emacs tarball on Windows, targets > such as this seems unnecessary (it will also not work, since Windows > doesn't support hard links). I based makefile-w32.in on makefile.in, and forgot to clean them up properly, I should do that. Those targets is probably not normally used, since I have no problem running this with "nmake info" from CMD.EXE. On a side note, NTFS does support hard links (AFAIK there's no native tool for it though, but Cygwin's "ln" works). -- Peter 'Luna' Runestig (fd. Altberg), Sweden PGP Key ID: 0xD07BBE13 Fingerprint: 7B5C 1F48 2997 C061 DE4B 42EA CB99 A35C D07B BE13 AOL Instant Messenger Screen name: PRunestig Yahoo! Messenger profile name: altberg