Danek Duvall wrote:

> I've been sitting on this patch for a bit.  If you do "make install" with
> DESTDIR set, then it's unlikely that the directories where the icons go
> will exist already, so create them in that situation.
> 
> --- a/src/Makefile
> +++ b/src/Makefile
> @@ -2366,6 +2366,10 @@ ICONTHEMEPATH = $(DATADIR)/icons/hicolor
>  DESKTOPPATH = $(DESTDIR)$(DATADIR)/applications
>  KDEPATH = $(HOME)/.kde/share/icons
>  install-icons:
> +     if test -n "$(DESTDIR)"; then \
> +             $(SHELL) ./mkinstalldirs $(ICON48PATH) $(ICON32PATH) \
> +                     $(ICON16PATH) $(DESKTOPPATH); \
> +     fi
>       if test -d $(ICON48PATH) -a -w $(ICON48PATH) \
>               -a ! -f $(ICON48PATH)/gvim.png; then \
>          $(INSTALL_DATA) $(SCRIPTSOURCE)/vim48x48.png $(ICON48PATH)/gvim.png; 
> \

Thanks, makes sense.

-- 
Common sense is what tells you that the world is flat.

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui