Bram Moolenaar | 0fa313a | 2005-08-10 21:07:57 +0000 | [diff] [blame^] | 1 | # Aap recipe for Hebrew Vim spell files. |
| 2 | |
| 3 | # Use a freshly compiled Vim if it exists. |
| 4 | @if os.path.exists('../../../src/vim'): |
| 5 | VIM = ../../../src/vim |
| 6 | @else: |
| 7 | :progsearch VIM vim |
| 8 | |
| 9 | SPELLDIR = .. |
| 10 | FILE = wordlist.utf8.txt |
| 11 | |
| 12 | all: $SPELLDIR/yi.utf-8.spl ../README_yi.txt |
| 13 | |
| 14 | $SPELLDIR/yi.utf-8.spl : $VIM $FILE |
| 15 | :sys $VIM -u NONE -e -c "set enc=utf-8" |
| 16 | -c "mkspell! $(SPELLDIR)/yi $FILE" -c q |
| 17 | |
| 18 | ../README_yi.txt : README.txt |
| 19 | :copy $source $target |
| 20 | |
| 21 | # |
| 22 | # Fetch the word list when needed. |
| 23 | # |
| 24 | URLDIR = http://www.cs.uky.edu/~raphael/yiddish |
| 25 | :attr {fetch = $URLDIR/%file%} $FILE |
| 26 | |
| 27 | |
| 28 | # There is no diff file, the word list is used as-is |
| 29 | diff: |
| 30 | :print No diff file. |
| 31 | |
| 32 | |
| 33 | # vim: set sts=4 sw=4 : |