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
|
483
|
7 LANG = af bg ca cs da de el en eo fr fo gl he hr it nl ny pl sk yi hu
|
482
|
8
|
483
|
9 # "hu" is at the end, because it takes so much time.
|
|
10 #
|
482
|
11 # TODO:
|
|
12 # Finnish doesn't work, the dictionary fi_FI.zip file contains hyphenation...
|
456
|
13
|
|
14 diff: $*LANG/diff
|
483
|
15 :print Done.
|
456
|
16
|
|
17 @for l in string.split(_no.LANG):
|
|
18 :child $l/main.aap
|
482
|
19
|
|
20 # The existing .spl files need to be generated when the spell file format
|
|
21 # changes. Depending on the Vim executable does that, but results in doing it
|
483
|
22 # much too often. Generate a dummy .spl file and let the .spl depend on it, so
|
|
23 # that they are outdated when it changes.
|
482
|
24 :child check/main.aap
|
|
25 *.spl: check/check.latin1.spl
|