annotate runtime/spell/main.aap @ 10051:46763b01cd9a

commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 31 22:22:10 2016 +0200 Updated runtime files. Remove HiLink commands.
author Christian Brabandt <cb@256bit.org>
date Wed, 31 Aug 2016 22:30:08 +0200
parents b9e314fe473f
children e9a47bcf7b94
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
482
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
1 # Toplevel Aap recipe for Vim spell files
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
2 #
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
3 # Usage:
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
4 # aap generate all the .spl files
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
5 # aap diff create all the diff files
456
c4d200412ae9 updated for version 7.0121
vimboss
parents: 388
diff changeset
6
648
9032e4668296 updated for version 7.0189
vimboss
parents: 502
diff changeset
7 # "hu" is at the end, because it takes a very long time.
2152
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 648
diff changeset
8 LANG = af am bg br ca cs cy da de el en eo es fr fo ga gd gl he hr id it
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 648
diff changeset
9 ku la lt lv mg mi ms nb nl nn ny pl pt ro ru rw sk sl sv sw
502
52e76e2b5b65 updated for version 7.0140
vimboss
parents: 500
diff changeset
10 tet th tl tn uk yi zu hu
482
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
11
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
12 # TODO:
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
13 # Finnish doesn't work, the dictionary fi_FI.zip file contains hyphenation...
456
c4d200412ae9 updated for version 7.0121
vimboss
parents: 388
diff changeset
14
c4d200412ae9 updated for version 7.0121
vimboss
parents: 388
diff changeset
15 diff: $*LANG/diff
483
70afa17bfc01 updated for version 7.0132
vimboss
parents: 482
diff changeset
16 :print Done.
456
c4d200412ae9 updated for version 7.0121
vimboss
parents: 388
diff changeset
17
c4d200412ae9 updated for version 7.0121
vimboss
parents: 388
diff changeset
18 @for l in string.split(_no.LANG):
c4d200412ae9 updated for version 7.0121
vimboss
parents: 388
diff changeset
19 :child $l/main.aap
482
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
20
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
21 # The existing .spl files need to be generated when the spell file format
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
22 # changes. Depending on the Vim executable does that, but results in doing it
483
70afa17bfc01 updated for version 7.0132
vimboss
parents: 482
diff changeset
23 # much too often. Generate a dummy .spl file and let the .spl depend on it, so
70afa17bfc01 updated for version 7.0132
vimboss
parents: 482
diff changeset
24 # that they are outdated when it changes.
482
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
25 :child check/main.aap
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
26 *.spl: check/check.latin1.spl