summaryrefslogtreecommitdiff
path: root/runtime/spell/main.aap
blob: 5be445412322e66c09d2b59cd8c6be1ce0535c9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Toplevel Aap recipe for Vim spell files
#
# Usage:
# aap        generate all the .spl files
# aap diff   create all the diff files

LANG = af am bg ca cs cy da de el en eo es fr fo ga gd gl he hr id it ku
       la lt lv mg mi ms nb nl nn ny pl pt ro ru rw sk sl sv sw
       tet th tl tn uk yi zu hu

# "hu" is at the end, because it takes a very long time.
#
# TODO:
# Finnish doesn't work, the dictionary fi_FI.zip file contains hyphenation...

diff: $*LANG/diff
        :print Done.

@for l in string.split(_no.LANG):
        :child $l/main.aap

# The existing .spl files need to be generated when the spell file format
# changes.  Depending on the Vim executable does that, but results in doing it
# much too often.  Generate a dummy .spl file and let the .spl depend on it, so
# that they are outdated when it changes.
:child check/main.aap
*.spl: check/check.latin1.spl