diff options
author | Ciaran McCreesh <ciaranm@gentoo.org> | 2006-01-23 21:35:21 +0000 |
---|---|---|
committer | Ciaran McCreesh <ciaranm@gentoo.org> | 2006-01-23 21:35:21 +0000 |
commit | 9df14d234a2bbebde7eed78daebb082b930fe9b5 (patch) | |
tree | 9f1d54e0c7b843cd289eb69f444d7295ee3da65e /eclass | |
parent | Workaround for bug #119023 is no longer needed. (diff) | |
download | historical-9df14d234a2bbebde7eed78daebb082b930fe9b5.tar.gz historical-9df14d234a2bbebde7eed78daebb082b930fe9b5.tar.bz2 historical-9df14d234a2bbebde7eed78daebb082b930fe9b5.zip |
Add support for .sug files.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/vim-spell.eclass | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/eclass/vim-spell.eclass b/eclass/vim-spell.eclass index 76436364dedf..045c6ab859b6 100644 --- a/eclass/vim-spell.eclass +++ b/eclass/vim-spell.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/vim-spell.eclass,v 1.4 2005/09/28 23:19:10 ciaranm Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/vim-spell.eclass,v 1.5 2006/01/23 21:35:21 ciaranm Exp $ # # Original Author: Ciaran McCreesh <ciaranm@gentoo.org> @@ -11,8 +11,10 @@ # How to make a vim spell file package using prebuilt spell lists # from upstream (${CODE} is the language's two letter code): # -# * Get the ${CODE}.*.spl and README_${CODE}.txt files. Currently they're -# at ftp://ftp.vim.org/pub/vim/unstable/runtime/spell/ . +# * Get the ${CODE}.*.spl, ${CODE}.*.sug (if your language has them) and +# README_${CODE}.txt files. Currently they're at +# ftp://ftp.vim.org/pub/vim/unstable/runtime/spell/ (except for English, +# which should be taken from CVS instead). # # * Stick them in vim-spell-${CODE}-$(date --iso | tr -d - ).tar.bz2 . Make sure # that they're in the appropriately named subdirectory to avoid having to mess @@ -82,7 +84,7 @@ vim-spell_src_install() { insinto "${target}" had_spell_file= - for f in *.spl ; do + for f in *.spl *.sug ; do doins "${f}" had_spell_file="yes" done |