Mercurial > vim
annotate src/po/Make_cyg.mak @ 3154:72528c5eb87e v7.3.347
updated for version 7.3.347
Problem: When dropping text from a browser on Vim it receives HTML even
though "html" is excluded from 'clipboard'. (Andrei Avk)
Solution: Fix the condition for TARGET_HTML.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 26 Oct 2011 11:36:25 +0200 |
parents | 3259c3923c1e |
children | 7e367104f6b6 |
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 | |
434 | 15 LANGUAGES = af \ |
16 ca \ | |
17 cs \ | |
18 cs.cp1250 \ | |
19 de \ | |
20 en_GB \ | |
1620 | 21 eo \ |
434 | 22 es \ |
1620 | 23 fi \ |
434 | 24 fr \ |
25 ga \ | |
26 it \ | |
27 ja \ | |
28 ja.sjis \ | |
29 ko \ | |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1698
diff
changeset
|
30 ko.UTF-8 \ |
434 | 31 no \ |
32 pl \ | |
33 pl.cp1250 \ | |
1698 | 34 pt_BR \ |
434 | 35 ru \ |
36 ru.cp1251 \ | |
37 sk \ | |
38 sk.cp1250 \ | |
39 sv \ | |
40 uk \ | |
41 uk.cp1251 \ | |
42 vi \ | |
43 zh_CN \ | |
44 zh_CN.UTF-8 \ | |
45 zh_CN.cp936 \ | |
46 zh_TW \ | |
47 zh_TW.UTF-8 \ | |
48 | |
49 MOFILES = af.mo \ | |
50 ca.mo \ | |
51 cs.cp1250.mo \ | |
52 cs.mo \ | |
53 de.mo \ | |
54 en_GB.mo \ | |
1620 | 55 eo.mo \ |
434 | 56 es.mo \ |
1620 | 57 fi.mo \ |
434 | 58 fr.mo \ |
59 ga.mo \ | |
60 it.mo \ | |
61 ja.mo \ | |
62 ja.sjis.mo \ | |
63 ko.mo \ | |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1698
diff
changeset
|
64 ko.UTF-8.mo \ |
434 | 65 no.mo \ |
66 pl.cp1250.mo \ | |
67 pl.mo \ | |
1698 | 68 pt_BR.mo \ |
434 | 69 ru.cp1251.mo \ |
70 ru.mo \ | |
71 sk.cp1250.mo \ | |
72 sk.mo \ | |
73 sv.mo \ | |
74 uk.cp1251.mo \ | |
75 uk.mo \ | |
76 vi.mo \ | |
77 zh_CN.UTF-8.mo \ | |
78 zh_CN.cp936.mo \ | |
79 zh_CN.mo \ | |
80 zh_TW.UTF-8.mo \ | |
81 zh_TW.mo \ | |
389 | 82 |
83 PACKAGE = vim | |
84 | |
85 # Uncomment one of the lines below or modify it to put the path to your | |
412 | 86 # gettext binaries |
389 | 87 ifndef GETTEXT_PATH |
88 #GETTEXT_PATH = C:/gettext.win32/bin/ | |
89 #GETTEXT_PATH = C:/gettext-0.10.35-w32/win32/Release/ | |
90 GETTEXT_PATH = /bin/ | |
91 endif | |
92 | |
412 | 93 # The OLD_PO_FILE_INPUT and OLD_PO_FILE_OUTPUT are for the new GNU gettext |
94 # tools 0.10.37, which use a slightly different .po file format that is not | |
95 # compatible with Solaris (and old gettext implementations) unless these are | |
96 # set. gettext 0.10.36 will not work! | |
97 MSGFMT = OLD_PO_FILE_INPUT=yes $(GETTEXT_PATH)msgfmt -v | |
98 XGETTEXT = OLD_PO_FILE_INPUT=yes OLD_PO_FILE_OUTPUT=yes $(GETTEXT_PATH)xgettext | |
99 MSGMERGE = OLD_PO_FILE_INPUT=yes OLD_PO_FILE_OUTPUT=yes $(GETTEXT_PATH)msgmerge | |
389 | 100 |
101 # MV = move | |
102 # CP = copy | |
103 # RM = del | |
104 # MKD = mkdir | |
105 MV = mv -f | |
106 CP = cp -f | |
107 RM = rm -f | |
108 MKD = mkdir -p | |
109 | |
110 .SUFFIXES: | |
111 .SUFFIXES: .po .mo .pot | |
112 .PHONY: first_time all install clean $(LANGUAGES) | |
113 | |
114 .po.mo: | |
115 $(MSGFMT) -o $@ $< | |
116 | |
117 all: $(MOFILES) | |
118 | |
119 first_time: | |
120 $(XGETTEXT) --default-domain=$(LANGUAGE) \ | |
121 --add-comments --keyword=_ --keyword=N_ $(wildcard ../*.c) ../if_perl.xs $(wildcard ../globals.h) | |
122 | |
123 $(LANGUAGES): | |
124 $(XGETTEXT) --default-domain=$(PACKAGE) \ | |
125 --add-comments --keyword=_ --keyword=N_ $(wildcard ../*.c) ../if_perl.xs $(wildcard ../globals.h) | |
126 $(MV) $(PACKAGE).po $(PACKAGE).pot | |
127 $(CP) $@.po $@.po.orig | |
128 $(MV) $@.po $@.po.old | |
129 $(MSGMERGE) $@.po.old $(PACKAGE).pot -o $@.po | |
130 $(RM) $@.po.old | |
131 | |
132 install: $(MOFILES) | |
133 for TARGET in $(LANGUAGES); do \ | |
134 $(MKD) $(VIMRUNTIME)/lang/$$TARGET/LC_MESSAGES ; \ | |
135 $(CP) $$TARGET.mo $(VIMRUNTIME)/lang/$$TARGET/LC_MESSAGES/$(PACKAGE).mo ; \ | |
136 done | |
137 | |
138 clean: | |
139 $(RM) *.mo | |
140 $(RM) *.pot | |
141 | |
142 |