all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs/lispref/Makefile.in: Minor fix for MS Win port
@ 2003-08-20  4:32 dhruva
  2003-08-22  9:12 ` Jason Rumney
  0 siblings, 1 reply; 5+ messages in thread
From: dhruva @ 2003-08-20  4:32 UTC (permalink / 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/

^ permalink raw reply	[flat|nested] 5+ messages in thread
* emacs/lispref/Makefile.in: Minor fix for MS Win port
@ 2003-08-20  8:05 dhruva
  0 siblings, 0 replies; 5+ messages in thread
From: dhruva @ 2003-08-20  8:05 UTC (permalink / raw)


Hello,
 I had sent a mail with this fix but my mail server went off. I am not
 sure whether the mail was sent. Incase it is duplicated, my apologies.

 In emacs/lispref/Makefile.in, a call to 'ln -s' is done on 'index.texi.
The MinGW/Win32 port of 'ln' creates a symbolic link with a '.lnk'
extension. Hence, "ln -s index.perm index.texi" results in a file
"index.texi.lnk" instead of "index.texi". This causes a build failure for
emacs/lispref. I have made a trivial modification.

with regards,
dhruva

[dky]diff -burN D:\tmp\cvs\emacs\emacs\lispref\Makefile.in Makefile.in
--- D:\tmp\cvs\emacs\emacs\lispref\Makefile.in  2003-08-13
19:45:11.000000000 +0530
+++ Makefile.in 2003-08-20 09:51:04.000000000 +0530
@@ -135,6 +135,11 @@
        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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-08-22 16:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-20  4:32 emacs/lispref/Makefile.in: Minor fix for MS Win port dhruva
2003-08-22  9:12 ` 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

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.