Karsten Hopp 2971ee
To: vim-dev@vim.org
Karsten Hopp 2971ee
Subject: Patch 7.1.197
Karsten Hopp 2971ee
Fcc: outbox
Karsten Hopp 2971ee
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 2971ee
Mime-Version: 1.0
Karsten Hopp 2971ee
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp 2971ee
Content-Transfer-Encoding: 8bit
Karsten Hopp 2971ee
------------
Karsten Hopp 2971ee
Karsten Hopp 2971ee
Patch 7.1.197
Karsten Hopp 2971ee
Problem:    Mac: "make install" doesn't work when prefix defined.
Karsten Hopp 2971ee
Solution:   Pass different arguments to "make installruntime".  (Jjgod Jiang)
Karsten Hopp 2971ee
Files:	    src/Makefile
Karsten Hopp 2971ee
Karsten Hopp 2971ee
Karsten Hopp 2971ee
*** ../vim-7.1.196/src/Makefile	Thu Jan  3 20:44:40 2008
Karsten Hopp 2971ee
--- src/Makefile	Thu Jan  3 18:30:02 2008
Karsten Hopp 2971ee
***************
Karsten Hopp 2971ee
*** 2559,2566 ****
Karsten Hopp 2971ee
  #	-mkdir $(DESTDIR)$(prefix)/$(APPDIR)/bin
Karsten Hopp 2971ee
  	srcdir=`pwd`; $(MAKE) -f Makefile installruntime \
Karsten Hopp 2971ee
  		VIMEXE=$$srcdir/$(VIMTARGET) \
Karsten Hopp 2971ee
! 		prefix=$(DESTDIR)$(prefix)/$(RESDIR)/vim \
Karsten Hopp 2971ee
! 		VIMRTLOC=$(DESTDIR)$(prefix)/$(RESDIR)/vim/runtime
Karsten Hopp 2971ee
  # Put the link back.
Karsten Hopp 2971ee
  	ln -s `pwd`/../runtime $(RESDIR)/vim
Karsten Hopp 2971ee
  # Copy rgb.txt, Mac doesn't always have X11
Karsten Hopp 2971ee
--- 2564,2574 ----
Karsten Hopp 2971ee
  #	-mkdir $(DESTDIR)$(prefix)/$(APPDIR)/bin
Karsten Hopp 2971ee
  	srcdir=`pwd`; $(MAKE) -f Makefile installruntime \
Karsten Hopp 2971ee
  		VIMEXE=$$srcdir/$(VIMTARGET) \
Karsten Hopp 2971ee
! 		prefix=$(DESTDIR)$(prefix)/$(RESDIR)$(VIMDIR) \
Karsten Hopp 2971ee
! 		exec_prefix=$(DESTDIR)$(prefix)/$(APPDIR)/Contents \
Karsten Hopp 2971ee
! 		BINDIR=$(DESTDIR)$(prefix)/$(APPDIR)/Contents/MacOS \
Karsten Hopp 2971ee
! 		VIMLOC=$(DESTDIR)$(prefix)/$(RESDIR)$(VIMDIR) \
Karsten Hopp 2971ee
! 		VIMRTLOC=$(DESTDIR)$(prefix)/$(RESDIR)$(VIMDIR)/runtime
Karsten Hopp 2971ee
  # Put the link back.
Karsten Hopp 2971ee
  	ln -s `pwd`/../runtime $(RESDIR)/vim
Karsten Hopp 2971ee
  # Copy rgb.txt, Mac doesn't always have X11
Karsten Hopp 2971ee
*** ../vim-7.1.196/src/version.c	Thu Jan  3 20:44:35 2008
Karsten Hopp 2971ee
--- src/version.c	Fri Jan  4 11:52:46 2008
Karsten Hopp 2971ee
***************
Karsten Hopp 2971ee
*** 668,669 ****
Karsten Hopp 2971ee
--- 668,671 ----
Karsten Hopp 2971ee
  {   /* Add new patch number below this line */
Karsten Hopp 2971ee
+ /**/
Karsten Hopp 2971ee
+     197,
Karsten Hopp 2971ee
  /**/
Karsten Hopp 2971ee
Karsten Hopp 2971ee
-- 
Karsten Hopp 2971ee
CUSTOMER:     Well, can you hang around a couple of minutes?  He won't be
Karsten Hopp 2971ee
              long.
Karsten Hopp 2971ee
MORTICIAN:    Naaah, I got to go on to Robinson's -- they've lost nine today.
Karsten Hopp 2971ee
CUSTOMER:     Well, when is your next round?
Karsten Hopp 2971ee
MORTICIAN:    Thursday.
Karsten Hopp 2971ee
DEAD PERSON:  I think I'll go for a walk.
Karsten Hopp 2971ee
                                  The Quest for the Holy Grail (Monty Python)
Karsten Hopp 2971ee
Karsten Hopp 2971ee
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 2971ee
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 2971ee
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 2971ee
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///