1 Description: avoid worldlist*zip and hunspell*zip for hunspell
2 Let's not create worldlist*zip and hunspell*zip for hunspell. We are not going
3 to distribute them or use them in any way. Saves us a zip build-depdency
4 but more importantly it does not create "binary" files in speller/hunspell
5 we would need to manually remove it clean.
6 Author: Rene Engelhard <rene@debian.org>
11 Last-Update: 2017-10-20
13 --- a/speller/make-hunspell-dict
14 +++ b/speller/make-hunspell-dict
16 cat $3 >> README_$1.txt
19 - rm -f hunspell-$fn.zip
20 - zip -9 hunspell-$fn.zip README_$1.txt $1.dic $1.aff
24 - cp hunspell-$fn.zip hunspell/
29 #hunspell -l -d ./$1 < $1.dic.tocheck > misspelled
31 cat $1.tocheck | iconv -f iso-8859-1 -t utf-8 | $UNIX2DOS > $1.txt
32 - cat <<EOF > README.txt
33 -This zip file contains the words found in the corresponding Hunspell
34 -dictionary. See the file README_$1.txt.
36 - zip -9 hunspell/wordlist-$fn.zip README.txt README_$1.txt $1.txt