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 | 280f126 | 2006-01-30 00:14:18 +0000 | [diff] [blame] | 7 | # "hu" is at the end, because it takes a very long time. |
Bram Moolenaar | acc2240 | 2020-06-07 21:07:18 +0200 | [diff] [blame] | 8 | # "eu" takes even longer (4 hours on my system). |
Bram Moolenaar | 00a927d | 2010-05-14 23:24:24 +0200 | [diff] [blame] | 9 | LANG = af am bg br ca cs cy da de el en eo es fr fo ga gd gl he hr id it |
| 10 | ku la lt lv mg mi ms nb nl nn ny pl pt ro ru rw sk sl sv sw |
Bram Moolenaar | acc2240 | 2020-06-07 21:07:18 +0200 | [diff] [blame] | 11 | tet th tl tn tr uk yi zu hu eu |
Bram Moolenaar | 5b8d8fd | 2005-08-16 23:01:50 +0000 | [diff] [blame] | 12 | |
| 13 | # TODO: |
| 14 | # Finnish doesn't work, the dictionary fi_FI.zip file contains hyphenation... |
Bram Moolenaar | 78984f5 | 2005-08-01 07:19:10 +0000 | [diff] [blame] | 15 | |
| 16 | diff: $*LANG/diff |
Bram Moolenaar | 5195e45 | 2005-08-19 20:32:47 +0000 | [diff] [blame] | 17 | :print Done. |
Bram Moolenaar | 78984f5 | 2005-08-01 07:19:10 +0000 | [diff] [blame] | 18 | |
| 19 | @for l in string.split(_no.LANG): |
| 20 | :child $l/main.aap |
Bram Moolenaar | 5b8d8fd | 2005-08-16 23:01:50 +0000 | [diff] [blame] | 21 | |
| 22 | # The existing .spl files need to be generated when the spell file format |
| 23 | # 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] | 24 | # much too often. Generate a dummy .spl file and let the .spl depend on it, so |
| 25 | # that they are outdated when it changes. |
Bram Moolenaar | 5b8d8fd | 2005-08-16 23:01:50 +0000 | [diff] [blame] | 26 | :child check/main.aap |
| 27 | *.spl: check/check.latin1.spl |