Bram Moolenaar | 5b8d8fd | 2005-08-16 23:01:50 +0000 | [diff] [blame] | 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 |
Bram Moolenaar | 78984f5 | 2005-08-01 07:19:10 +0000 | [diff] [blame] | 6 | |
Bram Moolenaar | ac6e65f | 2005-08-29 22:25:38 +0000 | [diff] [blame] | 7 | LANG = af am bg ca cs da de el en eo es fr fo gl he hr it nl ny pl ru sk |
| 8 | th yi hu |
Bram Moolenaar | 5b8d8fd | 2005-08-16 23:01:50 +0000 | [diff] [blame] | 9 | |
Bram Moolenaar | cee5560 | 2005-08-21 22:12:59 +0000 | [diff] [blame] | 10 | # "hu" is at the end, because it takes very long. |
Bram Moolenaar | 5195e45 | 2005-08-19 20:32:47 +0000 | [diff] [blame] | 11 | # |
Bram Moolenaar | 5b8d8fd | 2005-08-16 23:01:50 +0000 | [diff] [blame] | 12 | # TODO: |
| 13 | # Finnish doesn't work, the dictionary fi_FI.zip file contains hyphenation... |
Bram Moolenaar | 78984f5 | 2005-08-01 07:19:10 +0000 | [diff] [blame] | 14 | |
| 15 | diff: $*LANG/diff |
Bram Moolenaar | 5195e45 | 2005-08-19 20:32:47 +0000 | [diff] [blame] | 16 | :print Done. |
Bram Moolenaar | 78984f5 | 2005-08-01 07:19:10 +0000 | [diff] [blame] | 17 | |
| 18 | @for l in string.split(_no.LANG): |
| 19 | :child $l/main.aap |
Bram Moolenaar | 5b8d8fd | 2005-08-16 23:01:50 +0000 | [diff] [blame] | 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 |
Bram Moolenaar | 5195e45 | 2005-08-19 20:32:47 +0000 | [diff] [blame] | 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. |
Bram Moolenaar | 5b8d8fd | 2005-08-16 23:01:50 +0000 | [diff] [blame] | 25 | :child check/main.aap |
| 26 | *.spl: check/check.latin1.spl |