Mercurial > vim
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 |
rev | line source |
---|---|
389 | 1 # Makefile for the Vim message translations for Cygwin |
2 # by Tony Mechelynck <antoine.mechelynck@skynet.be> | |
3 # after Make_ming.mak by | |
4 # Eduardo F. Amatria <eferna1@platea.pntic.mec.es> | |
5 # | |
6 # Read the README_ming.txt file before using it. | |
7 # | |
8 # Use at your own risk but with care, it could even kill your canary. | |
9 # | |
10 | |
11 ifndef VIMRUNTIME | |
12 VIMRUNTIME = ../../runtime | |
13 endif | |
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 | 17 ca \ |
18 cs \ | |
19 cs.cp1250 \ | |
20 de \ | |
21 en_GB \ | |
1620 | 22 eo \ |
434 | 23 es \ |
1620 | 24 fi \ |
434 | 25 fr \ |
26 ga \ | |
27 it \ | |
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 | 30 ja.sjis \ |
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 | 35 no \ |
36 pl \ | |
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 | 39 pt_BR \ |
434 | 40 ru \ |
41 ru.cp1251 \ | |
42 sk \ | |
43 sk.cp1250 \ | |
44 sv \ | |
45 uk \ | |
46 uk.cp1251 \ | |
47 vi \ | |
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 | 50 zh_CN.UTF-8 \ |
51 zh_TW \ | |
52 zh_TW.UTF-8 \ | |
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 | 56 ca.mo \ |
57 cs.cp1250.mo \ | |
58 cs.mo \ | |
59 de.mo \ | |
60 en_GB.mo \ | |
1620 | 61 eo.mo \ |
434 | 62 es.mo \ |
1620 | 63 fi.mo \ |
434 | 64 fr.mo \ |
65 ga.mo \ | |
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 | 68 ja.mo \ |
69 ja.sjis.mo \ | |
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 | 74 no.mo \ |
75 pl.cp1250.mo \ | |
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 | 78 pt_BR.mo \ |
434 | 79 ru.cp1251.mo \ |
80 ru.mo \ | |
81 sk.cp1250.mo \ | |
82 sk.mo \ | |
83 sv.mo \ | |
84 uk.cp1251.mo \ | |
85 uk.mo \ | |
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 | 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 | 91 zh_TW.UTF-8.mo \ |
389 | 92 |
93 PACKAGE = vim | |
94 | |
95 # Uncomment one of the lines below or modify it to put the path to your | |
412 | 96 # gettext binaries |
389 | 97 ifndef GETTEXT_PATH |
98 #GETTEXT_PATH = C:/gettext.win32/bin/ | |
99 #GETTEXT_PATH = C:/gettext-0.10.35-w32/win32/Release/ | |
100 GETTEXT_PATH = /bin/ | |
101 endif | |
102 | |
412 | 103 # The OLD_PO_FILE_INPUT and OLD_PO_FILE_OUTPUT are for the new GNU gettext |
104 # tools 0.10.37, which use a slightly different .po file format that is not | |
105 # compatible with Solaris (and old gettext implementations) unless these are | |
106 # set. gettext 0.10.36 will not work! | |
107 MSGFMT = OLD_PO_FILE_INPUT=yes $(GETTEXT_PATH)msgfmt -v | |
108 XGETTEXT = OLD_PO_FILE_INPUT=yes OLD_PO_FILE_OUTPUT=yes $(GETTEXT_PATH)xgettext | |
109 MSGMERGE = OLD_PO_FILE_INPUT=yes OLD_PO_FILE_OUTPUT=yes $(GETTEXT_PATH)msgmerge | |
389 | 110 |
111 # MV = move | |
112 # CP = copy | |
113 # RM = del | |
114 # MKD = mkdir | |
115 MV = mv -f | |
116 CP = cp -f | |
117 RM = rm -f | |
118 MKD = mkdir -p | |
119 | |
120 .SUFFIXES: | |
121 .SUFFIXES: .po .mo .pot | |
122 .PHONY: first_time all install clean $(LANGUAGES) | |
123 | |
124 .po.mo: | |
125 $(MSGFMT) -o $@ $< | |
126 | |
127 all: $(MOFILES) | |
128 | |
129 first_time: | |
130 $(XGETTEXT) --default-domain=$(LANGUAGE) \ | |
131 --add-comments --keyword=_ --keyword=N_ $(wildcard ../*.c) ../if_perl.xs $(wildcard ../globals.h) | |
132 | |
133 $(LANGUAGES): | |
134 $(XGETTEXT) --default-domain=$(PACKAGE) \ | |
135 --add-comments --keyword=_ --keyword=N_ $(wildcard ../*.c) ../if_perl.xs $(wildcard ../globals.h) | |
136 $(MV) $(PACKAGE).po $(PACKAGE).pot | |
137 $(CP) $@.po $@.po.orig | |
138 $(MV) $@.po $@.po.old | |
139 $(MSGMERGE) $@.po.old $(PACKAGE).pot -o $@.po | |
140 $(RM) $@.po.old | |
141 | |
142 install: $(MOFILES) | |
143 for TARGET in $(LANGUAGES); do \ | |
144 $(MKD) $(VIMRUNTIME)/lang/$$TARGET/LC_MESSAGES ; \ | |
145 $(CP) $$TARGET.mo $(VIMRUNTIME)/lang/$$TARGET/LC_MESSAGES/$(PACKAGE).mo ; \ | |
146 done | |
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 | 150 clean: |
151 $(RM) *.mo | |
152 $(RM) *.pot | |
153 | |
154 |