/[gentoo-x86]/eclass/vim-doc.eclass
Gentoo

Diff of /eclass/vim-doc.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.3
1# Copyright 1999-2003 Gentoo Technologies, Inc. 1# Copyright 1999-2003 Gentoo Technologies, Inc.
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/vim-doc.eclass,v 1.2 2003/07/30 18:53:54 agriffis Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/vim-doc.eclass,v 1.3 2003/07/30 21:42:57 agriffis Exp $
4# 4#
5# This eclass is used by vim.eclass and vim-plugin.eclass to update 5# This eclass is used by vim.eclass and vim-plugin.eclass to update
6# the documentation tags. This is necessary since vim doesn't look in 6# the documentation tags. This is necessary since vim doesn't look in
7# /usr/share/vim/vimfiles/doc for documentation; it only uses the 7# /usr/share/vim/vimfiles/doc for documentation; it only uses the
8# versioned directory, for example /usr/share/vim/vim62/doc 8# versioned directory, for example /usr/share/vim/vim62/doc
22 22
23 # Find a suitable vim binary 23 # Find a suitable vim binary
24 local vim=`which vim 2>/dev/null` 24 local vim=`which vim 2>/dev/null`
25 [[ -z "$vim" ]] && vim=`which gvim 2>/dev/null` 25 [[ -z "$vim" ]] && vim=`which gvim 2>/dev/null`
26 [[ -z "$vim" ]] && vim=`which kvim 2>/dev/null` 26 [[ -z "$vim" ]] && vim=`which kvim 2>/dev/null`
27 if [[ -z "$vim" -a $PN != vim-core ]]; then 27 if [[ -z "$vim" && $PN != vim-core ]]; then
28 ewarn "No suitable vim binary to rebuild documentation tags" 28 ewarn "No suitable vim binary to rebuild documentation tags"
29 fi 29 fi
30 30
31 # Install the documentation symlinks into the versioned vim 31 # Install the documentation symlinks into the versioned vim
32 # directory and run :helptags 32 # directory and run :helptags

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20