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

Diff of /eclass/vim-spell.eclass

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

Revision 1.6 Revision 1.7
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 Gentoo Foundation
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-spell.eclass,v 1.6 2007/03/21 03:40:22 pioto Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/vim-spell.eclass,v 1.7 2009/07/07 18:54:05 arfrever Exp $
4 4
5# 5#
6# Original Author: Ciaran McCreesh <ciaranm@gentoo.org> 6# Original Author: Ciaran McCreesh <ciaranm@gentoo.org>
7# Maintainers: Vim Herd <vim@gentoo.org> 7# Maintainers: Vim Herd <vim@gentoo.org>
8# Purpose: Simplify installing spell files for vim7 8# Purpose: Simplify installing spell files for vim7
82 target="/usr/share/vim/vimfiles/spell/" 82 target="/usr/share/vim/vimfiles/spell/"
83 dodir "${target}" 83 dodir "${target}"
84 insinto "${target}" 84 insinto "${target}"
85 85
86 had_spell_file= 86 had_spell_file=
87 for f in *.spl *.sug ; do 87 for f in *.spl ; do
88 if [[ -f "${f}" ]]; then
88 doins "${f}" 89 doins "${f}"
89 had_spell_file="yes" 90 had_spell_file="yes"
91 fi
92 done
93
94 for f in *.sug ; do
95 if [[ -f "${f}" ]]; then
96 doins "${f}"
97 fi
90 done 98 done
91 99
92 for f in README* ; do 100 for f in README* ; do
93 dodoc "${f}" 101 dodoc "${f}"
94 done 102 done

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20