Mercurial > vim
annotate src/po/Make_cyg.mak @ 17918:9606c0adc148 v8.1.1955
patch 8.1.1955: tests contain typos
Commit: https://github.com/vim/vim/commit/1bc353b6f1b063e189e0cef26f8dc586dcf9161f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Sep 1 14:45:28 2019 +0200
patch 8.1.1955: tests contain typos
Problem: Tests contain typos.
Solution: Correct the typos. (Dominique Pelle)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 01 Sep 2019 15:00:04 +0200 |
parents | a36fb263c35e |
children | aa91480771fe |
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 | |
14181
a36fb263c35e
patch 8.1.0108: no Danish translations
Christian Brabandt <cb@256bit.org>
parents:
13802
diff
changeset
|
15 # get LANGUAGES, MOFILES and MOCONVERTED |
a36fb263c35e
patch 8.1.0108: no Danish translations
Christian Brabandt <cb@256bit.org>
parents:
13802
diff
changeset
|
16 include Make_all.mak |
389 | 17 |
18 PACKAGE = vim | |
19 | |
20 # Uncomment one of the lines below or modify it to put the path to your | |
412 | 21 # gettext binaries |
389 | 22 ifndef GETTEXT_PATH |
23 #GETTEXT_PATH = C:/gettext.win32/bin/ | |
24 #GETTEXT_PATH = C:/gettext-0.10.35-w32/win32/Release/ | |
25 GETTEXT_PATH = /bin/ | |
26 endif | |
27 | |
412 | 28 # The OLD_PO_FILE_INPUT and OLD_PO_FILE_OUTPUT are for the new GNU gettext |
29 # tools 0.10.37, which use a slightly different .po file format that is not | |
30 # compatible with Solaris (and old gettext implementations) unless these are | |
31 # set. gettext 0.10.36 will not work! | |
32 MSGFMT = OLD_PO_FILE_INPUT=yes $(GETTEXT_PATH)msgfmt -v | |
33 XGETTEXT = OLD_PO_FILE_INPUT=yes OLD_PO_FILE_OUTPUT=yes $(GETTEXT_PATH)xgettext | |
34 MSGMERGE = OLD_PO_FILE_INPUT=yes OLD_PO_FILE_OUTPUT=yes $(GETTEXT_PATH)msgmerge | |
389 | 35 |
36 # MV = move | |
37 # CP = copy | |
38 # RM = del | |
39 # MKD = mkdir | |
40 MV = mv -f | |
41 CP = cp -f | |
42 RM = rm -f | |
43 MKD = mkdir -p | |
44 | |
45 .SUFFIXES: | |
46 .SUFFIXES: .po .mo .pot | |
47 .PHONY: first_time all install clean $(LANGUAGES) | |
48 | |
49 .po.mo: | |
50 $(MSGFMT) -o $@ $< | |
51 | |
14181
a36fb263c35e
patch 8.1.0108: no Danish translations
Christian Brabandt <cb@256bit.org>
parents:
13802
diff
changeset
|
52 all: $(MOFILES) $(MOCONVERTED) |
389 | 53 |
54 first_time: | |
55 $(XGETTEXT) --default-domain=$(LANGUAGE) \ | |
13802
378f9f8e6d8f
patch 8.0.1773: dialog messages are not translated
Christian Brabandt <cb@256bit.org>
parents:
13735
diff
changeset
|
56 --add-comments --keyword=_ --keyword=N_ --keyword=NGETTEXT:1,2 $(wildcard ../*.c) ../if_perl.xs ../GvimExt/gvimext.cpp $(wildcard ../globals.h) ../if_py_both.h ../vim.h |
389 | 57 |
58 $(LANGUAGES): | |
59 $(XGETTEXT) --default-domain=$(PACKAGE) \ | |
13802
378f9f8e6d8f
patch 8.0.1773: dialog messages are not translated
Christian Brabandt <cb@256bit.org>
parents:
13735
diff
changeset
|
60 --add-comments --keyword=_ --keyword=N_ --keyword=NGETTEXT:1,2 $(wildcard ../*.c) ../if_perl.xs ../GvimExt/gvimext.cpp $(wildcard ../globals.h) ../if_py_both.h ../vim.h |
389 | 61 $(MV) $(PACKAGE).po $(PACKAGE).pot |
62 $(CP) $@.po $@.po.orig | |
63 $(MV) $@.po $@.po.old | |
64 $(MSGMERGE) $@.po.old $(PACKAGE).pot -o $@.po | |
65 $(RM) $@.po.old | |
66 | |
14181
a36fb263c35e
patch 8.1.0108: no Danish translations
Christian Brabandt <cb@256bit.org>
parents:
13802
diff
changeset
|
67 install: $(MOFILES) $(MOCONVERTED) |
389 | 68 for TARGET in $(LANGUAGES); do \ |
69 $(MKD) $(VIMRUNTIME)/lang/$$TARGET/LC_MESSAGES ; \ | |
70 $(CP) $$TARGET.mo $(VIMRUNTIME)/lang/$$TARGET/LC_MESSAGES/$(PACKAGE).mo ; \ | |
71 done | |
72 | |
7374
7e367104f6b6
commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents:
2098
diff
changeset
|
73 install-all: install |
7e367104f6b6
commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents:
2098
diff
changeset
|
74 |
389 | 75 clean: |
76 $(RM) *.mo | |
77 $(RM) *.pot | |
78 | |
79 |