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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
1 # Makefile for the Vim message translations for Cygwin
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
2 # by Tony Mechelynck <antoine.mechelynck@skynet.be>
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
3 # after Make_ming.mak by
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
4 # Eduardo F. Amatria <eferna1@platea.pntic.mec.es>
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
5 #
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
6 # Read the README_ming.txt file before using it.
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
7 #
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
8 # Use at your own risk but with care, it could even kill your canary.
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
9 #
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
10
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
11 ifndef VIMRUNTIME
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
12 VIMRUNTIME = ../../runtime
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
13 endif
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
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
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
17
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
18 PACKAGE = vim
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
19
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
20 # Uncomment one of the lines below or modify it to put the path to your
412
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 406
diff changeset
21 # gettext binaries
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
22 ifndef GETTEXT_PATH
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
23 #GETTEXT_PATH = C:/gettext.win32/bin/
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
24 #GETTEXT_PATH = C:/gettext-0.10.35-w32/win32/Release/
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
25 GETTEXT_PATH = /bin/
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
26 endif
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
27
412
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 406
diff changeset
28 # The OLD_PO_FILE_INPUT and OLD_PO_FILE_OUTPUT are for the new GNU gettext
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 406
diff changeset
29 # tools 0.10.37, which use a slightly different .po file format that is not
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 406
diff changeset
30 # compatible with Solaris (and old gettext implementations) unless these are
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 406
diff changeset
31 # set. gettext 0.10.36 will not work!
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 406
diff changeset
32 MSGFMT = OLD_PO_FILE_INPUT=yes $(GETTEXT_PATH)msgfmt -v
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 406
diff changeset
33 XGETTEXT = OLD_PO_FILE_INPUT=yes OLD_PO_FILE_OUTPUT=yes $(GETTEXT_PATH)xgettext
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 406
diff changeset
34 MSGMERGE = OLD_PO_FILE_INPUT=yes OLD_PO_FILE_OUTPUT=yes $(GETTEXT_PATH)msgmerge
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
35
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
36 # MV = move
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
37 # CP = copy
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
38 # RM = del
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
39 # MKD = mkdir
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
40 MV = mv -f
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
41 CP = cp -f
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
42 RM = rm -f
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
43 MKD = mkdir -p
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
44
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
45 .SUFFIXES:
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
46 .SUFFIXES: .po .mo .pot
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
47 .PHONY: first_time all install clean $(LANGUAGES)
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
48
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
49 .po.mo:
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
50 $(MSGFMT) -o $@ $<
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
51
14181
a36fb263c35e patch 8.1.0108: no Danish translations
Christian Brabandt <cb@256bit.org>
parents: 13802
diff changeset
52 all: $(MOFILES) $(MOCONVERTED)
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
53
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
54 first_time:
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
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
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
57
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
58 $(LANGUAGES):
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
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
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
61 $(MV) $(PACKAGE).po $(PACKAGE).pot
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
62 $(CP) $@.po $@.po.orig
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
63 $(MV) $@.po $@.po.old
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
64 $(MSGMERGE) $@.po.old $(PACKAGE).pot -o $@.po
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
65 $(RM) $@.po.old
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
66
14181
a36fb263c35e patch 8.1.0108: no Danish translations
Christian Brabandt <cb@256bit.org>
parents: 13802
diff changeset
67 install: $(MOFILES) $(MOCONVERTED)
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
68 for TARGET in $(LANGUAGES); do \
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
69 $(MKD) $(VIMRUNTIME)/lang/$$TARGET/LC_MESSAGES ; \
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
70 $(CP) $$TARGET.mo $(VIMRUNTIME)/lang/$$TARGET/LC_MESSAGES/$(PACKAGE).mo ; \
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
71 done
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
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
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
75 clean:
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
76 $(RM) *.mo
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
77 $(RM) *.pot
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
78
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
79