annotate src/po/Make_ming.mak @ 1291:f12d38ee49de v7.1.006

updated for version 7.1-006
author vimboss
date Tue, 19 Jun 2007 13:36:52 +0000
parents 9595cf1d80a7
children 82b5078be2dd
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
434
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
13 LANGUAGES = \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
14 af \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
15 ca \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
16 cs \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
17 de \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
18 en_GB \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
19 es \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
20 fr \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
21 ga \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
22 it \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
23 ja \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
24 ko \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
25 no \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
26 pl \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
27 ru \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
28 sk \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
29 sv \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
30 uk \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
31 vi \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
32 zh_CN \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
33 zh_CN.UTF-8\
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
34 zh_TW \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
35 zh_TW.UTF-8 \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
36
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
37 MOFILES = \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
38 af.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
39 ca.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
40 cs.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
41 de.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
42 en_GB.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
43 es.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
44 fr.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
45 ga.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
46 it.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
47 ja.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
48 ko.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
49 no.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
50 pl.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
51 ru.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
52 sk.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
53 sv.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
54 uk.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
55 vi.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
56 zh_CN.UTF-8.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
57 zh_CN.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
58 zh_TW.UTF-8.mo \
9595cf1d80a7 updated for version 7.0112
vimboss
parents: 170
diff changeset
59 zh_TW.mo \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 PACKAGE = vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 # 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
64 # gettex binaries; I use the first
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 #GETTEXT_PATH = C:/gettext.win32/bin/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 #GETTEXT_PATH = C:/gettext-0.10.35-w32/win32/Release/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 #GETTEXT_PATH = C:/cygwin/bin/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 MSGFMT = $(GETTEXT_PATH)msgfmt
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 XGETTEXT = $(GETTEXT_PATH)xgettext
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 MSGMERGE = $(GETTEXT_PATH)msgmerge
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 MV = move
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 CP = copy
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 RM = del
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 MKD = mkdir
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 .SUFFIXES:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 .SUFFIXES: .po .mo .pot
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 .PHONY: first_time all install clean $(LANGUAGES)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 .po.mo:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 $(MSGFMT) -o $@ $<
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 all: $(MOFILES)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 first_time:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 $(XGETTEXT) --default-domain=$(LANGUAGE) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 --add-comments --keyword=_ --keyword=N_ $(wildcard ../*.c) ../if_perl.xs $(wildcard ../globals.h)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 $(LANGUAGES):
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 $(XGETTEXT) --default-domain=$(PACKAGE) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 --add-comments --keyword=_ --keyword=N_ $(wildcard ../*.c) ../if_perl.xs $(wildcard ../globals.h)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 $(MV) $(PACKAGE).po $(PACKAGE).pot
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 $(CP) $@.po $@.po.orig
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 $(MV) $@.po $@.po.old
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 $(MSGMERGE) $@.po.old $(PACKAGE).pot -o $@.po
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 $(RM) $@.po.old
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 install:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 $(MKD) $(VIMRUNTIME)\lang\$(LANGUAGE)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 $(MKD) $(VIMRUNTIME)\lang\$(LANGUAGE)\LC_MESSAGES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 $(CP) $(LANGUAGE).mo $(VIMRUNTIME)\lang\$(LANGUAGE)\LC_MESSAGES\$(PACKAGE).mo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 clean:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 $(RM) *.mo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 $(RM) *.pot
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109