xref: /vim-8.2.3635/runtime/spell/main.aap (revision acc22406)
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
6
7# "hu" is at the end, because it takes a very long time.
8# "eu" takes even longer (4 hours on my system).
9LANG = 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
11       tet th tl tn tr uk yi zu hu eu
12
13# TODO:
14# Finnish doesn't work, the dictionary fi_FI.zip file contains hyphenation...
15
16diff: $*LANG/diff
17        :print Done.
18
19# Use "aap publish" to upload the .spl files.
20SPL_files = eu.utf-8.spl
21
22UPDIR = rsync://[email protected]//var/ftp/pub/vim/runtime/spell
23:attr {publish = $UPDIR/%file%} $SPL_files
24
25@for l in string.split(_no.LANG):
26        :child $l/main.aap
27
28# The existing .spl files need to be generated when the spell file format
29# changes.  Depending on the Vim executable does that, but results in doing it
30# much too often.  Generate a dummy .spl file and let the .spl depend on it, so
31# that they are outdated when it changes.
32:child check/main.aap
33*.spl: check/check.latin1.spl
34