Karsten Hopp 05d83b
To: vim_dev@googlegroups.com
Karsten Hopp 05d83b
Subject: Patch 7.4.909
Karsten Hopp 05d83b
Fcc: outbox
Karsten Hopp 05d83b
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 05d83b
Mime-Version: 1.0
Karsten Hopp 05d83b
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 05d83b
Content-Transfer-Encoding: 8bit
Karsten Hopp 05d83b
------------
Karsten Hopp 05d83b
Karsten Hopp 05d83b
Patch 7.4.909 (after 7.4.905)
Karsten Hopp 05d83b
Problem:    "make install" fails.
Karsten Hopp 05d83b
Solution:   Only try installing desktop files if the destination directory
Karsten Hopp 05d83b
            exists.
Karsten Hopp 05d83b
Files:      src/Makefile
Karsten Hopp 05d83b
Karsten Hopp 05d83b
Karsten Hopp 05d83b
*** ../vim-7.4.908/src/Makefile	2015-11-02 12:50:49.756534398 +0100
Karsten Hopp 05d83b
--- src/Makefile	2015-11-03 22:00:24.996063518 +0100
Karsten Hopp 05d83b
***************
Karsten Hopp 05d83b
*** 2213,2218 ****
Karsten Hopp 05d83b
--- 2213,2219 ----
Karsten Hopp 05d83b
  ICON48PATH = $(DESTDIR)$(DATADIR)/icons/hicolor/48x48/apps
Karsten Hopp 05d83b
  ICON32PATH = $(DESTDIR)$(DATADIR)/icons/locolor/32x32/apps
Karsten Hopp 05d83b
  ICON16PATH = $(DESTDIR)$(DATADIR)/icons/locolor/16x16/apps
Karsten Hopp 05d83b
+ DESKTOPPATH = $(DESTDIR)$(DATADIR)/applications
Karsten Hopp 05d83b
  KDEPATH = $(HOME)/.kde/share/icons
Karsten Hopp 05d83b
  install-icons:
Karsten Hopp 05d83b
  	if test -d $(ICON48PATH) -a -w $(ICON48PATH) \
Karsten Hopp 05d83b
***************
Karsten Hopp 05d83b
*** 2227,2234 ****
Karsten Hopp 05d83b
  		-a ! -f $(ICON16PATH)/gvim.png; then \
Karsten Hopp 05d83b
  	   $(INSTALL_DATA) $(SCRIPTSOURCE)/vim16x16.png $(ICON16PATH)/gvim.png; \
Karsten Hopp 05d83b
  	fi
Karsten Hopp 05d83b
! 	$(INSTALL_DATA) $(SCRIPTSOURCE)/vim.desktop $(SCRIPTSOURCE)/gvim.desktop \
Karsten Hopp 05d83b
! 		$(DESTDIR)$(DATADIR)/applications
Karsten Hopp 05d83b
  
Karsten Hopp 05d83b
  $(HELPSOURCE)/vim.1 $(MACROSOURCE) $(TOOLSSOURCE):
Karsten Hopp 05d83b
  	@echo Runtime files not found.
Karsten Hopp 05d83b
--- 2228,2238 ----
Karsten Hopp 05d83b
  		-a ! -f $(ICON16PATH)/gvim.png; then \
Karsten Hopp 05d83b
  	   $(INSTALL_DATA) $(SCRIPTSOURCE)/vim16x16.png $(ICON16PATH)/gvim.png; \
Karsten Hopp 05d83b
  	fi
Karsten Hopp 05d83b
! 	if test -d $(DESKTOPPATH) -a -w $(DESKTOPPATH); then \
Karsten Hopp 05d83b
! 	   $(INSTALL_DATA) $(SCRIPTSOURCE)/vim.desktop \
Karsten Hopp 05d83b
! 		$(SCRIPTSOURCE)/gvim.desktop \
Karsten Hopp 05d83b
! 		$(DESKTOPPATH); \
Karsten Hopp 05d83b
! 	fi
Karsten Hopp 05d83b
  
Karsten Hopp 05d83b
  $(HELPSOURCE)/vim.1 $(MACROSOURCE) $(TOOLSSOURCE):
Karsten Hopp 05d83b
  	@echo Runtime files not found.
Karsten Hopp 05d83b
*** ../vim-7.4.908/src/version.c	2015-11-02 17:35:37.335704679 +0100
Karsten Hopp 05d83b
--- src/version.c	2015-11-03 21:56:28.394899507 +0100
Karsten Hopp 05d83b
***************
Karsten Hopp 05d83b
*** 743,744 ****
Karsten Hopp 05d83b
--- 743,746 ----
Karsten Hopp 05d83b
  {   /* Add new patch number below this line */
Karsten Hopp 05d83b
+ /**/
Karsten Hopp 05d83b
+     909,
Karsten Hopp 05d83b
  /**/
Karsten Hopp 05d83b
Karsten Hopp 05d83b
-- 
Karsten Hopp 05d83b
From "know your smileys":
Karsten Hopp 05d83b
 ;-0	Can't find shift key
Karsten Hopp 05d83b
 ,-9	Kann Umschalttaste nicht finden
Karsten Hopp 05d83b
Karsten Hopp 05d83b
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 05d83b
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 05d83b
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 05d83b
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///