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