annotate src/po/Make_ming.mak @ 1691:4842e7421b52 v7.2b.024

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