summaryrefslogtreecommitdiff
path: root/runtime/spell
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/spell')
-rw-r--r--runtime/spell/main.aap2
-rw-r--r--runtime/spell/yi/main.aap33
2 files changed, 34 insertions, 1 deletions
diff --git a/runtime/spell/main.aap b/runtime/spell/main.aap
index 34768b660..44d19906b 100644
--- a/runtime/spell/main.aap
+++ b/runtime/spell/main.aap
@@ -1,7 +1,7 @@
# "aap": generate all the .spl files
# "aap diff" create all the diff files
-LANG = de en fr he it nl pl
+LANG = de en fr he it nl pl yi
diff: $*LANG/diff
:print done
diff --git a/runtime/spell/yi/main.aap b/runtime/spell/yi/main.aap
new file mode 100644
index 000000000..a426684d4
--- /dev/null
+++ b/runtime/spell/yi/main.aap
@@ -0,0 +1,33 @@
+# Aap recipe for Hebrew Vim spell files.
+
+# Use a freshly compiled Vim if it exists.
+@if os.path.exists('../../../src/vim'):
+ VIM = ../../../src/vim
+@else:
+ :progsearch VIM vim
+
+SPELLDIR = ..
+FILE = wordlist.utf8.txt
+
+all: $SPELLDIR/yi.utf-8.spl ../README_yi.txt
+
+$SPELLDIR/yi.utf-8.spl : $VIM $FILE
+ :sys $VIM -u NONE -e -c "set enc=utf-8"
+ -c "mkspell! $(SPELLDIR)/yi $FILE" -c q
+
+../README_yi.txt : README.txt
+ :copy $source $target
+
+#
+# Fetch the word list when needed.
+#
+URLDIR = http://www.cs.uky.edu/~raphael/yiddish
+:attr {fetch = $URLDIR/%file%} $FILE
+
+
+# There is no diff file, the word list is used as-is
+diff:
+ :print No diff file.
+
+
+# vim: set sts=4 sw=4 :