482
|
1 # Toplevel Aap recipe for Vim spell files
|
|
2 #
|
|
3 # Usage:
|
|
4 # aap generate all the .spl files
|
|
5 # aap diff create all the diff files
|
456
|
6
|
648
|
7 # "hu" is at the end, because it takes a very long time.
|
502
|
8 LANG = af am bg ca cs cy da de el en eo es fr fo ga gd gl he hr id it ku
|
|
9 la lt lv mg mi ms nb nl nn ny pl pt ro ru rw sk sl sv sw
|
|
10 tet th tl tn uk yi zu hu
|
482
|
11
|
|
12 # TODO:
|
|
13 # Finnish doesn't work, the dictionary fi_FI.zip file contains hyphenation...
|
456
|
14
|
|
15 diff: $*LANG/diff
|
483
|
16 :print Done.
|
456
|
17
|
|
18 @for l in string.split(_no.LANG):
|
|
19 :child $l/main.aap
|
482
|
20
|
|
21 # The existing .spl files need to be generated when the spell file format
|
|
22 # changes. Depending on the Vim executable does that, but results in doing it
|
483
|
23 # much too often. Generate a dummy .spl file and let the .spl depend on it, so
|
|
24 # that they are outdated when it changes.
|
482
|
25 :child check/main.aap
|
|
26 *.spl: check/check.latin1.spl
|