From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "dhruva" Newsgroups: gmane.emacs.devel Subject: emacs/lispref/Makefile.in: Minor fix for MS Win port Date: Wed, 20 Aug 2003 10:02:57 +0530 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20030820043257.83A49785D5@smtp.us2.messagingengine.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1061524193 19423 80.91.224.253 (22 Aug 2003 03:49:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 22 Aug 2003 03:49:53 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Aug 22 05:49:52 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 19q2vw-0002E7-00 for ; Fri, 22 Aug 2003 05:49:52 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19q2zw-00036J-00 for ; Fri, 22 Aug 2003 05:54:00 +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 19q2nc-0001te-Jp for emacs-devel@quimby.gnus.org; Thu, 21 Aug 2003 23:41:16 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19peau-0004OX-2z for emacs-devel@gnu.org; Wed, 20 Aug 2003 21:50:32 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19pNVs-0006Nc-OJ for emacs-devel@gnu.org; Wed, 20 Aug 2003 03:36:45 -0400 Original-Received: from [66.111.4.25] (helo=mail.messagingengine.com) by monty-python.gnu.org with esmtp (Exim 4.20) id 19pKyd-0002Lr-1t for emacs-devel@gnu.org; Wed, 20 Aug 2003 00:53:43 -0400 Original-Received: from smtp.us2.messagingengine.com (localhost [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id A1D5B102D06 for ; Wed, 20 Aug 2003 00:32:57 -0400 (EDT) Original-Received: from 10.202.2.133 ([10.202.2.133] helo=smtp.us2.messagingengine.com) by messagingengine.com with SMTP; Wed, 20 Aug 2003 00:32:57 -0400 Original-Received: by smtp.us2.messagingengine.com (Postfix, from userid 99) id 83A49785D5; Wed, 20 Aug 2003 00:32:57 -0400 (EDT) Content-Disposition: inline X-Mailer: MIME::Lite 1.2 (F2.71; T1.001; A1.51; B2.12; Q2.03) Original-To: "Emacs Devel" X-Epoch: 1061353977 X-Sasl-enc: lvz4KwGdvKb5aQRSwJMzYw 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:16049 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16049 Hello, The Makefile.in in emacs/lispref has a small problem on MS Windows port. If it finds 'ln', it uses it and created a symbolic link to the original file BUT with a ".lnk" extension. For ex: ln -s index.texi creates "index.texi.lnk" I am sending a small patch to handle this in Makefile.in. Maybe crude, but works! If you find this good enough, someone can install it. I have no write access to CVS. cmd I used (first file is from CVS, second file is modified file): diff -p D:\tmp\cvs\emacs\emacs\lispref\Makefile.in Makefile.in *** D:\tmp\cvs\emacs\emacs\lispref\Makefile.in Wed Aug 13 19:45:11 2003 --- Makefile.in Wed Aug 20 09:51:04 2003 *************** index.texi: *** 135,140 **** --- 135,145 ---- else \ ln -s $(srcdir)/index.unperm index.texi || ln $(srcdir)/index.unperm index.texi || cp $(srcdir)/index.unperm index.texi; \ fi + # For MS port of ln + if [ -f index.texi.lnk ]; \ + then \ + mv index.texi.lnk index.texi; \ + fi install: elisp $(srcdir)/mkinstalldirs $(infodir) -- Dhruva Krishnamurthy Web: http://schemer.fateback.com/