Mercurial > vim
annotate runtime/spell/sr/main.aap @ 29269:0fdf36de4018
Update runtime files
Commit: https://github.com/vim/vim/commit/8cc5b559f70041361612b8a6a87922503b33baa6
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jun 23 13:04:20 2022 +0100
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 23 Jun 2022 14:15:04 +0200 |
parents | 73e42c11db9e |
children |
rev | line source |
---|---|
13350
73e42c11db9e
Include Serbian spell input files
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
1 # Aap recipe for Serbian Vim spell files. |
29269 | 2 # See README_sr.txt for instructions to get the .aff and .dic files. |
13350
73e42c11db9e
Include Serbian spell input files
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
3 |
73e42c11db9e
Include Serbian spell input files
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
4 # Use a freshly compiled Vim if it exists. |
73e42c11db9e
Include Serbian spell input files
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
5 @if os.path.exists('../../../src/vim'): |
73e42c11db9e
Include Serbian spell input files
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
6 VIM = ../../../src/vim |
73e42c11db9e
Include Serbian spell input files
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
7 @else: |
73e42c11db9e
Include Serbian spell input files
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
8 :progsearch VIM vim |
73e42c11db9e
Include Serbian spell input files
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
9 |
73e42c11db9e
Include Serbian spell input files
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
10 SPELLDIR = .. |
29269 | 11 FILES = sr.aff sr.dic |
13350
73e42c11db9e
Include Serbian spell input files
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
12 |
29269 | 13 all: $SPELLDIR/sr.utf-8.spl ../README_sr.txt |
13350
73e42c11db9e
Include Serbian spell input files
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
14 |
73e42c11db9e
Include Serbian spell input files
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
15 $SPELLDIR/sr.utf-8.spl : $FILES |
73e42c11db9e
Include Serbian spell input files
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
16 :sys env LANG=sr_RS.UTF-8 |
29269 | 17 $VIM -u NONE -e -c "set enc=utf-8" -c "mkspell! $SPELLDIR/sr sr" -c q |
13350
73e42c11db9e
Include Serbian spell input files
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
18 |
29269 | 19 ../README_sr.txt : README_sr.txt |
20 :copy README_sr.txt $target | |
13350
73e42c11db9e
Include Serbian spell input files
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
21 |
73e42c11db9e
Include Serbian spell input files
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
22 |
73e42c11db9e
Include Serbian spell input files
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
23 vim: set sts=4 sw=4 : |