annotate src/po/Make_mvc.mak @ 2185:0c1e413c32f1 v7.2.443

updated for version 7.2.443 Problem: Using taglist() on a tag file with duplicate fields generates an internal error. (Peter Odding) Solution: Check for duplicate field names.
author Bram Moolenaar <bram@vim.org>
date Sat, 12 Jun 2010 20:12:02 +0200
parents f4f8014d516e
children 3567e0d56891
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 # Makefile for the Vim message translations for MSVC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 # (based on make_ming.mak)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 # Mike Williams <mrw@eandem.co.uk>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 # Please read README_mvc.txt before using this file.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8
435
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
9 LANGUAGES = \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
10 af \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
11 ca \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
12 cs \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
13 de \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
14 en_GB \
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 435
diff changeset
15 eo \
435
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
16 es \
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 435
diff changeset
17 fi \
435
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
18 fr \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
19 ga \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
20 it \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
21 ja \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
22 ko \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
23 no \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
24 pl \
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 1621
diff changeset
25 pt_BR \
435
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
26 ru \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
27 sk \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
28 sv \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
29 uk \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
30 vi \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
31 zh_CN \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
32 zh_CN.UTF-8 \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
33 zh_TW \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
34 zh_TW.UTF-8 \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
35
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
36 MOFILES = \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
37 af.mo \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
38 ca.mo \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
39 cs.mo \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
40 de.mo \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
41 en_GB.mo \
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 435
diff changeset
42 eo.mo \
435
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
43 es.mo \
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 435
diff changeset
44 fi.mo \
435
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
45 fr.mo \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
46 ga.mo \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
47 it.mo \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
48 ja.mo \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
49 ko.mo \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
50 no.mo \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
51 pl.mo \
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 1621
diff changeset
52 pt_BR.mo \
435
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
53 ru.mo \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
54 sk.mo \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
55 sv.mo \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
56 uk.mo \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
57 vi.mo \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
58 zh_CN.UTF-8.mo \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
59 zh_CN.mo \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
60 zh_TW.UTF-8.mo \
73f016dbb279 updated for version 7.0112
vimboss
parents: 170
diff changeset
61 zh_TW.mo \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 PACKAGE = vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 # Correct the following line for the installation directory of gettext
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 GETTEXT_PATH = H:\gettext.win32.msvcrt\bin
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 MSGFMT = $(GETTEXT_PATH)\msgfmt
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 XGETTEXT = $(GETTEXT_PATH)\xgettext
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 MSGMERGE = $(GETTEXT_PATH)\msgmerge
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 MV = move
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 CP = copy
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 RM = del
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 MKD = mkdir
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 LS = dir
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 LSFLAGS = /b /on /l /s
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 INSTALLDIR = $(VIMRUNTIME)\lang\$(LANGUAGE)\LC_MESSAGES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 .SUFFIXES:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 .SUFFIXES: .po .mo .pot
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 .po.mo:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 $(MSGFMT) -o $@ $<
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 all: $(MOFILES)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 files:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 $(LS) $(LSFLAGS) ..\*.c ..\if_perl.xs ..\globals.h > .\files
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 first_time: files
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 $(XGETTEXT) --default-domain=$(LANGUAGE) --add-comments --keyword=_ --keyword=N_ --files-from=.\files
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 $(LANGUAGES): files
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 $(XGETTEXT) --default-domain=$(PACKAGE) --add-comments --keyword=_ --keyword=N_ --files-from=.\files
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 $(MV) $(PACKAGE).po $(PACKAGE).pot
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 $(CP) $@.po $@.po.orig
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 $(MV) $@.po $@.po.old
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 $(MSGMERGE) $@.po.old $(PACKAGE).pot -o $@.po
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 $(RM) $@.po.old
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 install:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 if not exist $(INSTALLDIR) $(MKD) $(INSTALLDIR)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 $(CP) $(LANGUAGE).mo $(INSTALLDIR)\$(PACKAGE).mo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 clean:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 $(RM) *.mo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 $(RM) *.pot