unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "dhruva" <seagull@fastmail.fm>
Subject: emacs/lispref/Makefile.in: Minor fix for MS Win port
Date: Wed, 20 Aug 2003 10:02:57 +0530	[thread overview]
Message-ID: <20030820043257.83A49785D5@smtp.us2.messagingengine.com> (raw)

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/

             reply	other threads:[~2003-08-20  4:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-20  4:32 dhruva [this message]
2003-08-22  9:12 ` emacs/lispref/Makefile.in: Minor fix for MS Win port Jason Rumney
2003-08-22 11:48   ` dhruva
2003-08-22 16:39   ` Peter 'Luna' Runestig
  -- strict thread matches above, loose matches on Subject: below --
2003-08-20  8:05 dhruva

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030820043257.83A49785D5@smtp.us2.messagingengine.com \
    --to=seagull@fastmail.fm \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).