annotate runtime/spell/es/main.aap @ 6797:56a735cff1a0 v7.4.720

patch 7.4.720 Problem: Can't build with Visual Studio 2015. Solution: Recognize the "version 14" numbers and omit /nodefaultlib when appropriate. (Paul Moore)
author Bram Moolenaar <bram@vim.org>
date Mon, 04 May 2015 16:18:42 +0200
parents b9e314fe473f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
498
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
1 # Aap recipe for Spanish Vim spell files.
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
2
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
3 # Use a freshly compiled Vim if it exists.
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
4 @if os.path.exists('../../../src/vim'):
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
5 VIM = ../../../src/vim
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
6 @else:
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
7 :progsearch VIM vim
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
8
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
9 REGIONS = ES MX
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
10 ES_REGIONS = es_$*REGIONS
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
11
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
12 SPELLDIR = ..
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
13 FILES = es_$*(REGIONS).aff es_$*(REGIONS).dic
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
14
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
15 ZIPFILE_ES = es_ES.zip
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
16 ZIPFILE_MX = es_MX.zip
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
17 ZIPFILES = $ZIPFILE_ES $ZIPFILE_MX
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
18
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
19 READMES = README_es_$*(REGIONS).txt
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
20
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
21 all: $SPELLDIR/es.latin1.spl $SPELLDIR/es.utf-8.spl ../README_es.txt
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
22
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
23 $SPELLDIR/es.latin1.spl : $FILES
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
24 :sys env LANG=es_ES.ISO8859-1
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
25 $VIM -u NONE -e -c "mkspell! $SPELLDIR/es $ES_REGIONS" -c q
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
26
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
27 $SPELLDIR/es.utf-8.spl : $FILES
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
28 :sys env LANG=es_ES.UTF-8
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
29 $VIM -u NONE -e -c "mkspell! $SPELLDIR/es $ES_REGIONS" -c q
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
30
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
31 ../README_es.txt: $READMES
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
32 :print es_ES >! $target
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
33 :cat README_es_ES.txt >> $target
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
34 :print =================================================== >>$target
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
35 :print es_MX >> $target
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
36 :cat README_es_MX.txt >> $target
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
37
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
38 #
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
39 # Fetching the files from the OpenOffice.org site.
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
40 # The OLDSPELL file comes from elsewhere
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
41 #
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
42 OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
43 :attr {fetch = $OODIR/%file%} $ZIPFILES
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
44
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
45 # The files don't depend on the .zip file so that we can delete it.
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
46 # Only download the zip file if the targets don't exist.
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
47 es_ES.aff es_ES.dic: {buildcheck=}
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
48 :assertpkg unzip patch
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
49 :fetch $ZIPFILE_ES
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
50 :sys $UNZIP $ZIPFILE_ES
839
1f3b1021f002 updated for version 7.0e05
vimboss
parents: 799
diff changeset
51 :delete Changelog_es_ES.txt
799
6beb2c667935 updated for version 7.0b
vimboss
parents: 498
diff changeset
52 :delete $ZIPFILE_ES
498
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
53 @if not os.path.exists('es_ES.orig.aff'):
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
54 :copy es_ES.aff es_ES.orig.aff
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
55 @if not os.path.exists('es_ES.orig.dic'):
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
56 :copy es_ES.dic es_ES.orig.dic
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
57 @if os.path.exists('es_ES.diff'):
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
58 :sys patch <es_ES.diff
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
59
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
60 es_MX.aff es_MX.dic: {buildcheck=}
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
61 :assertpkg unzip patch
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
62 :fetch $ZIPFILE_MX
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
63 :print No copyright information for es_MX wordlist >! README_es_MX.txt
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
64 :sys $UNZIP $ZIPFILE_MX
799
6beb2c667935 updated for version 7.0b
vimboss
parents: 498
diff changeset
65 :delete $ZIPFILE_MX
2152
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 839
diff changeset
66 :sys $VIM -u NONE -e -c "set ff=unix | wq" es_MX.dic
498
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
67 @if not os.path.exists('es_MX.orig.aff'):
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
68 :copy es_MX.aff es_MX.orig.aff
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
69 @if not os.path.exists('es_MX.orig.dic'):
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
70 :copy es_MX.dic es_MX.orig.dic
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
71 @if os.path.exists('es_MX.diff'):
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
72 :sys patch <es_MX.diff
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
73
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
74
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
75 # Generate diff files, so that others can get the OpenOffice files and apply
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
76 # the diffs to get the Vim versions.
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
77 diff:
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
78 :assertpkg diff
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
79 :sys {force} diff -a -C 1 es_ES.orig.aff es_ES.aff >es_ES.diff
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
80 :sys {force} diff -a -C 1 es_ES.orig.dic es_ES.dic >>es_ES.diff
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
81 :sys {force} diff -a -C 1 es_MX.orig.aff es_MX.aff >es_MX.diff
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
82 :sys {force} diff -a -C 1 es_MX.orig.dic es_MX.dic >>es_MX.diff
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
83
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
84
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
85 # Check for updated OpenOffice spell files. When there are changes the
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
86 # ".new.aff" and ".new.dic" files are left behind for manual inspection.
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
87
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
88 check:
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
89 :print TODO!!!!
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
90
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
91
f9ea3888b054 updated for version 7.0137
vimboss
parents:
diff changeset
92 # vim: set sts=4 sw=4 :