annotate src/po/Make_cyg.mak @ 8681:b7eb7dd4369e

Added tag v7.4.1629 for changeset 131e651fb3470927ded1585e8b48b67ea74ac757
author Christian Brabandt <cb@256bit.org>
date Mon, 21 Mar 2016 22:15:08 +0100
parents 7e367104f6b6
children f48a1c8c5961
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
1 # Makefile for the Vim message translations for Cygwin
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
2 # by Tony Mechelynck <antoine.mechelynck@skynet.be>
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
3 # after Make_ming.mak by
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
4 # Eduardo F. Amatria <eferna1@platea.pntic.mec.es>
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
5 #
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
6 # Read the README_ming.txt file before using it.
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
7 #
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
8 # Use at your own risk but with care, it could even kill your canary.
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
9 #
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
10
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
11 ifndef VIMRUNTIME
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
12 VIMRUNTIME = ../../runtime
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
13 endif
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
14
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 2098
diff changeset
15 LANGUAGES = \
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 2098
diff changeset
16 af \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
17 ca \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
18 cs \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
19 cs.cp1250 \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
20 de \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
21 en_GB \
1620
73fe8baea242 updated for version 7.2a
vimboss
parents: 434
diff changeset
22 eo \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
23 es \
1620
73fe8baea242 updated for version 7.2a
vimboss
parents: 434
diff changeset
24 fi \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
25 fr \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
26 ga \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
27 it \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
28 ja \
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 2098
diff changeset
29 ja.euc-jp \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
30 ja.sjis \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
31 ko \
2098
3259c3923c1e Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents: 1698
diff changeset
32 ko.UTF-8 \
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 2098
diff changeset
33 nb \
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 2098
diff changeset
34 nl \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
35 no \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
36 pl \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
37 pl.cp1250 \
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 2098
diff changeset
38 pl.UTF-8 \
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 1620
diff changeset
39 pt_BR \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
40 ru \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
41 ru.cp1251 \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
42 sk \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
43 sk.cp1250 \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
44 sv \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
45 uk \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
46 uk.cp1251 \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
47 vi \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
48 zh_CN \
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 2098
diff changeset
49 zh_CN.cp936 \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
50 zh_CN.UTF-8 \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
51 zh_TW \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
52 zh_TW.UTF-8 \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
53
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 2098
diff changeset
54 MOFILES = \
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 2098
diff changeset
55 af.mo \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
56 ca.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
57 cs.cp1250.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
58 cs.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
59 de.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
60 en_GB.mo \
1620
73fe8baea242 updated for version 7.2a
vimboss
parents: 434
diff changeset
61 eo.mo \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
62 es.mo \
1620
73fe8baea242 updated for version 7.2a
vimboss
parents: 434
diff changeset
63 fi.mo \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
64 fr.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
65 ga.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
66 it.mo \
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 2098
diff changeset
67 ja.euc-jp.mo \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
68 ja.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
69 ja.sjis.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
70 ko.mo \
2098
3259c3923c1e Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents: 1698
diff changeset
71 ko.UTF-8.mo \
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 2098
diff changeset
72 nb.mo \
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 2098
diff changeset
73 nl.mo \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
74 no.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
75 pl.cp1250.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
76 pl.mo \
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 2098
diff changeset
77 pl.UTF-8.mo \
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 1620
diff changeset
78 pt_BR.mo \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
79 ru.cp1251.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
80 ru.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
81 sk.cp1250.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
82 sk.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
83 sv.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
84 uk.cp1251.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
85 uk.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
86 vi.mo \
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 2098
diff changeset
87 zh_CN.mo \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
88 zh_CN.cp936.mo \
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 2098
diff changeset
89 zh_CN.UTF-8.mo \
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 2098
diff changeset
90 zh_TW.mo \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 412
diff changeset
91 zh_TW.UTF-8.mo \
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
92
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
93 PACKAGE = vim
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
94
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
95 # Uncomment one of the lines below or modify it to put the path to your
412
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 406
diff changeset
96 # gettext binaries
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
97 ifndef GETTEXT_PATH
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
98 #GETTEXT_PATH = C:/gettext.win32/bin/
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
99 #GETTEXT_PATH = C:/gettext-0.10.35-w32/win32/Release/
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
100 GETTEXT_PATH = /bin/
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
101 endif
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
102
412
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 406
diff changeset
103 # The OLD_PO_FILE_INPUT and OLD_PO_FILE_OUTPUT are for the new GNU gettext
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 406
diff changeset
104 # tools 0.10.37, which use a slightly different .po file format that is not
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 406
diff changeset
105 # compatible with Solaris (and old gettext implementations) unless these are
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 406
diff changeset
106 # set. gettext 0.10.36 will not work!
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 406
diff changeset
107 MSGFMT = OLD_PO_FILE_INPUT=yes $(GETTEXT_PATH)msgfmt -v
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 406
diff changeset
108 XGETTEXT = OLD_PO_FILE_INPUT=yes OLD_PO_FILE_OUTPUT=yes $(GETTEXT_PATH)xgettext
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 406
diff changeset
109 MSGMERGE = OLD_PO_FILE_INPUT=yes OLD_PO_FILE_OUTPUT=yes $(GETTEXT_PATH)msgmerge
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
110
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
111 # MV = move
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
112 # CP = copy
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
113 # RM = del
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
114 # MKD = mkdir
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
115 MV = mv -f
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
116 CP = cp -f
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
117 RM = rm -f
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
118 MKD = mkdir -p
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
119
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
120 .SUFFIXES:
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
121 .SUFFIXES: .po .mo .pot
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
122 .PHONY: first_time all install clean $(LANGUAGES)
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
123
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
124 .po.mo:
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
125 $(MSGFMT) -o $@ $<
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
126
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
127 all: $(MOFILES)
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
128
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
129 first_time:
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
130 $(XGETTEXT) --default-domain=$(LANGUAGE) \
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
131 --add-comments --keyword=_ --keyword=N_ $(wildcard ../*.c) ../if_perl.xs $(wildcard ../globals.h)
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
132
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
133 $(LANGUAGES):
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
134 $(XGETTEXT) --default-domain=$(PACKAGE) \
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
135 --add-comments --keyword=_ --keyword=N_ $(wildcard ../*.c) ../if_perl.xs $(wildcard ../globals.h)
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
136 $(MV) $(PACKAGE).po $(PACKAGE).pot
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
137 $(CP) $@.po $@.po.orig
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
138 $(MV) $@.po $@.po.old
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
139 $(MSGMERGE) $@.po.old $(PACKAGE).pot -o $@.po
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
140 $(RM) $@.po.old
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
141
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
142 install: $(MOFILES)
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
143 for TARGET in $(LANGUAGES); do \
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
144 $(MKD) $(VIMRUNTIME)/lang/$$TARGET/LC_MESSAGES ; \
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
145 $(CP) $$TARGET.mo $(VIMRUNTIME)/lang/$$TARGET/LC_MESSAGES/$(PACKAGE).mo ; \
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
146 done
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
147
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 2098
diff changeset
148 install-all: install
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 2098
diff changeset
149
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
150 clean:
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
151 $(RM) *.mo
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
152 $(RM) *.pot
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
153
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
154