annotate src/po/Make_ming.mak @ 13608:2a2b668cf24c v8.0.1676

patch 8.0.1676: no compiler warning for wrong printf format commit https://github.com/vim/vim/commit/4ac2e8d8e60dcc7dbff662e177b86ccfbda7cd9e Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 8 12:38:26 2018 +0200 patch 8.0.1676: no compiler warning for wrong printf format Problem: No compiler warning for wrong printf format. Solution: Add a printf attribute for gcc. Fix reported problems. (Dominique Pelle, closes #2789)
author Christian Brabandt <cb@256bit.org>
date Sun, 08 Apr 2018 12:45:07 +0200
parents cf04dbb33f41
children a62eeee5f116
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 mingw32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 # Eduardo F. Amatria <eferna1@platea.pntic.mec.es>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 # Read the README_ming.txt file before using it.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 # Use at your own risk but with care, it could even kill your canary.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 # Previous to all you must have the environment variable LANGUAGE set to your
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 # language (xx) and add it to the next three lines.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
13 ifndef VIMRUNTIME
12748
f48a1c8c5961 patch 8.0.1252: incomplete translations makefile for MinGW/Cygwin
Christian Brabandt <cb@256bit.org>
parents: 7374
diff changeset
14 ifeq (sh.exe, $(SHELL))
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
15 VIMRUNTIME = ..\..\runtime
12748
f48a1c8c5961 patch 8.0.1252: incomplete translations makefile for MinGW/Cygwin
Christian Brabandt <cb@256bit.org>
parents: 7374
diff changeset
16 else
f48a1c8c5961 patch 8.0.1252: incomplete translations makefile for MinGW/Cygwin
Christian Brabandt <cb@256bit.org>
parents: 7374
diff changeset
17 VIMRUNTIME = ../../runtime
f48a1c8c5961 patch 8.0.1252: incomplete translations makefile for MinGW/Cygwin
Christian Brabandt <cb@256bit.org>
parents: 7374
diff changeset
18 endif
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
19 endif
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
20
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
21 LANGUAGES = \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
22 af \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
23 ca \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
24 cs \
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
25 cs.cp1250 \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
26 de \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
27 en_GB \
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 434
diff changeset
28 eo \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
29 es \
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 434
diff changeset
30 fi \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
31 fr \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
32 ga \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
33 it \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
34 ja \
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
35 ja.euc-jp \
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
36 ja.sjis \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
37 ko \
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
38 ko.UTF-8 \
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
39 nb \
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
40 nl \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
41 no \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
42 pl \
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
43 pl.cp1250 \
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
44 pl.UTF-8 \
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 1621
diff changeset
45 pt_BR \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
46 ru \
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
47 ru.cp1251 \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
48 sk \
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
49 sk.cp1250 \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
50 sv \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
51 uk \
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
52 uk.cp1251 \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
53 vi \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
54 zh_CN \
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
55 zh_CN.cp936 \
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
56 zh_CN.UTF-8 \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
57 zh_TW \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
58 zh_TW.UTF-8 \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
59
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
60 MOFILES = \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
61 af.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
62 ca.mo \
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
63 cs.cp1250.mo \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
64 cs.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
65 de.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
66 en_GB.mo \
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 434
diff changeset
67 eo.mo \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
68 es.mo \
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 434
diff changeset
69 fi.mo \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
70 fr.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
71 ga.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
72 it.mo \
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
73 ja.euc-jp.mo \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
74 ja.mo \
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
75 ja.sjis.mo \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
76 ko.mo \
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
77 ko.UTF-8.mo \
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
78 nb.mo \
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
79 nl.mo \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
80 no.mo \
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
81 pl.cp1250.mo \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
82 pl.mo \
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
83 pl.UTF-8.mo \
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 1621
diff changeset
84 pt_BR.mo \
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
85 ru.cp1251.mo \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
86 ru.mo \
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
87 sk.cp1250.mo \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
88 sk.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
89 sv.mo \
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
90 uk.cp1251.mo \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
91 uk.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
92 vi.mo \
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
93 zh_CN.mo \
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
94 zh_CN.cp936.mo \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
95 zh_CN.UTF-8.mo \
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
96 zh_TW.mo \
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
97 zh_TW.UTF-8.mo \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 PACKAGE = vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 # Uncomment one of the lines below or modify it to put the path to your
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 # gettex binaries; I use the first
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 #GETTEXT_PATH = C:/gettext.win32/bin/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 #GETTEXT_PATH = C:/gettext-0.10.35-w32/win32/Release/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 #GETTEXT_PATH = C:/cygwin/bin/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106
12748
f48a1c8c5961 patch 8.0.1252: incomplete translations makefile for MinGW/Cygwin
Christian Brabandt <cb@256bit.org>
parents: 7374
diff changeset
107 ifeq (sh.exe, $(SHELL))
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
108 MSGFMT = set OLD_PO_FILE_INPUT=yes && $(GETTEXT_PATH)msgfmt -v
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
109 XGETTEXT = set OLD_PO_FILE_INPUT=yes && set OLD_PO_FILE_OUTPUT=yes && $(GETTEXT_PATH)xgettext
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
110 MSGMERGE = set OLD_PO_FILE_INPUT=yes && set OLD_PO_FILE_OUTPUT=yes && $(GETTEXT_PATH)msgmerge
12748
f48a1c8c5961 patch 8.0.1252: incomplete translations makefile for MinGW/Cygwin
Christian Brabandt <cb@256bit.org>
parents: 7374
diff changeset
111 else
f48a1c8c5961 patch 8.0.1252: incomplete translations makefile for MinGW/Cygwin
Christian Brabandt <cb@256bit.org>
parents: 7374
diff changeset
112 MSGFMT = LANG=C OLD_PO_FILE_INPUT=yes $(GETTEXT_PATH)msgfmt -v
f48a1c8c5961 patch 8.0.1252: incomplete translations makefile for MinGW/Cygwin
Christian Brabandt <cb@256bit.org>
parents: 7374
diff changeset
113 XGETTEXT = LANG=C OLD_PO_FILE_INPUT=yes OLD_PO_FILE_OUTPUT=yes $(GETTEXT_PATH)xgettext
f48a1c8c5961 patch 8.0.1252: incomplete translations makefile for MinGW/Cygwin
Christian Brabandt <cb@256bit.org>
parents: 7374
diff changeset
114 MSGMERGE = LANG=C OLD_PO_FILE_INPUT=yes OLD_PO_FILE_OUTPUT=yes $(GETTEXT_PATH)msgmerge
f48a1c8c5961 patch 8.0.1252: incomplete translations makefile for MinGW/Cygwin
Christian Brabandt <cb@256bit.org>
parents: 7374
diff changeset
115 endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116
12748
f48a1c8c5961 patch 8.0.1252: incomplete translations makefile for MinGW/Cygwin
Christian Brabandt <cb@256bit.org>
parents: 7374
diff changeset
117 ifeq (sh.exe, $(SHELL))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 MV = move
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 CP = copy
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 RM = del
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 MKD = mkdir
12748
f48a1c8c5961 patch 8.0.1252: incomplete translations makefile for MinGW/Cygwin
Christian Brabandt <cb@256bit.org>
parents: 7374
diff changeset
122 else
f48a1c8c5961 patch 8.0.1252: incomplete translations makefile for MinGW/Cygwin
Christian Brabandt <cb@256bit.org>
parents: 7374
diff changeset
123 MV = mv -f
f48a1c8c5961 patch 8.0.1252: incomplete translations makefile for MinGW/Cygwin
Christian Brabandt <cb@256bit.org>
parents: 7374
diff changeset
124 CP = cp -f
f48a1c8c5961 patch 8.0.1252: incomplete translations makefile for MinGW/Cygwin
Christian Brabandt <cb@256bit.org>
parents: 7374
diff changeset
125 RM = rm -f
f48a1c8c5961 patch 8.0.1252: incomplete translations makefile for MinGW/Cygwin
Christian Brabandt <cb@256bit.org>
parents: 7374
diff changeset
126 MKD = mkdir -p
f48a1c8c5961 patch 8.0.1252: incomplete translations makefile for MinGW/Cygwin
Christian Brabandt <cb@256bit.org>
parents: 7374
diff changeset
127 endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 .SUFFIXES:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 .SUFFIXES: .po .mo .pot
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 .PHONY: first_time all install clean $(LANGUAGES)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 .po.mo:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 $(MSGFMT) -o $@ $<
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 all: $(MOFILES)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 first_time:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 $(XGETTEXT) --default-domain=$(LANGUAGE) \
13464
cf04dbb33f41 patch 8.0.1606: singular/plural variants not translated
Christian Brabandt <cb@256bit.org>
parents: 12748
diff changeset
140 --add-comments --keyword=_ --keyword=N_ --keyword=NGETTEXT:1,2 $(wildcard ../*.c) ../if_perl.xs ../GvimExt/gvimext.cpp $(wildcard ../globals.h) ../if_py_both.h
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 $(LANGUAGES):
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 $(XGETTEXT) --default-domain=$(PACKAGE) \
13464
cf04dbb33f41 patch 8.0.1606: singular/plural variants not translated
Christian Brabandt <cb@256bit.org>
parents: 12748
diff changeset
144 --add-comments --keyword=_ --keyword=N_ --keyword=NGETTEXT:1,2 $(wildcard ../*.c) ../if_perl.xs ../GvimExt/gvimext.cpp $(wildcard ../globals.h) ../if_py_both.h
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 $(MV) $(PACKAGE).po $(PACKAGE).pot
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 $(CP) $@.po $@.po.orig
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 $(MV) $@.po $@.po.old
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 $(MSGMERGE) $@.po.old $(PACKAGE).pot -o $@.po
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 $(RM) $@.po.old
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 install:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 $(MKD) $(VIMRUNTIME)\lang\$(LANGUAGE)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 $(MKD) $(VIMRUNTIME)\lang\$(LANGUAGE)\LC_MESSAGES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 $(CP) $(LANGUAGE).mo $(VIMRUNTIME)\lang\$(LANGUAGE)\LC_MESSAGES\$(PACKAGE).mo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155
12748
f48a1c8c5961 patch 8.0.1252: incomplete translations makefile for MinGW/Cygwin
Christian Brabandt <cb@256bit.org>
parents: 7374
diff changeset
156 ifeq (sh.exe, $(SHELL))
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
157 install-all: all
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
158 FOR %%l IN ($(LANGUAGES)) DO @IF NOT EXIST $(VIMRUNTIME)\lang\%%l $(MKD) $(VIMRUNTIME)\lang\%%l
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
159 FOR %%l IN ($(LANGUAGES)) DO @IF NOT EXIST $(VIMRUNTIME)\lang\%%l\LC_MESSAGES $(MKD) $(VIMRUNTIME)\lang\%%l\LC_MESSAGES
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
160 FOR %%l IN ($(LANGUAGES)) DO @$(CP) %%l.mo $(VIMRUNTIME)\lang\%%l\LC_MESSAGES\$(PACKAGE).mo
12748
f48a1c8c5961 patch 8.0.1252: incomplete translations makefile for MinGW/Cygwin
Christian Brabandt <cb@256bit.org>
parents: 7374
diff changeset
161 else
f48a1c8c5961 patch 8.0.1252: incomplete translations makefile for MinGW/Cygwin
Christian Brabandt <cb@256bit.org>
parents: 7374
diff changeset
162 install-all: all
f48a1c8c5961 patch 8.0.1252: incomplete translations makefile for MinGW/Cygwin
Christian Brabandt <cb@256bit.org>
parents: 7374
diff changeset
163 for TARGET in $(LANGUAGES); do \
f48a1c8c5961 patch 8.0.1252: incomplete translations makefile for MinGW/Cygwin
Christian Brabandt <cb@256bit.org>
parents: 7374
diff changeset
164 $(MKD) $(VIMRUNTIME)/lang/$$TARGET/LC_MESSAGES ; \
f48a1c8c5961 patch 8.0.1252: incomplete translations makefile for MinGW/Cygwin
Christian Brabandt <cb@256bit.org>
parents: 7374
diff changeset
165 $(CP) $$TARGET.mo $(VIMRUNTIME)/lang/$$TARGET/LC_MESSAGES/$(PACKAGE).mo ; \
f48a1c8c5961 patch 8.0.1252: incomplete translations makefile for MinGW/Cygwin
Christian Brabandt <cb@256bit.org>
parents: 7374
diff changeset
166 done
f48a1c8c5961 patch 8.0.1252: incomplete translations makefile for MinGW/Cygwin
Christian Brabandt <cb@256bit.org>
parents: 7374
diff changeset
167 endif
7374
7e367104f6b6 commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
168
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 clean:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 $(RM) *.mo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 $(RM) *.pot
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173