annotate runtime/lang/Make_mvc.mak @ 34669:fe206762c077

Update README.txt and README.md (#14313) Commit: https://github.com/vim/vim/commit/b75825f749cf87feb9ae8e7e5327bd2efe707c86 Author: Restorer <69863286+RestorerZ@users.noreply.github.com> Date: Thu Mar 28 09:14:47 2024 +0000 Update README.txt and README.md (https://github.com/vim/vim/issues/14313) Signed-off-by: RestorerZ <restorer@mail2k.ru> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Thu, 28 Mar 2024 10:15:11 +0100
parents dc55e7f6eb80
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
1 #
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
2 # Makefile for converted the Vim menu files on Windows
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
3 #
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
4 # 08.11.23, Restorer, <restorer@mail2k.ru>
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
5
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
6 !IF [powershell -nologo -noprofile "exit $$psversiontable.psversion.major"] == 2
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
7 !ERROR The program "PowerShell" version 3.0 or higher is required to work
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
8 !ENDIF
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
9
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
10 # Common components
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
11 !INCLUDE Make_all.mak
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
12
33828
53bab9f88162 runtime(doc): Update doc Makefiles with comments from #13567 (#13577)
Christian Brabandt <cb@256bit.org>
parents: 33788
diff changeset
13 # Correct the following line for the directory where iconv is installed.
53bab9f88162 runtime(doc): Update doc Makefiles with comments from #13567 (#13577)
Christian Brabandt <cb@256bit.org>
parents: 33788
diff changeset
14 # Please do not put the path in quotes.
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
15 ICONV_PATH = D:\Programs\GetText\bin
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
16
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
17 # In case some package like GnuWin32, UnixUtils, gettext
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
18 # or something similar is installed on the system.
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
19 # If the "iconv" program is installed on the system, but it is not registered
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
20 # in the %PATH% environment variable, then specify the full path to this file.
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
21 !IF EXIST ("iconv.exe")
33828
53bab9f88162 runtime(doc): Update doc Makefiles with comments from #13567 (#13577)
Christian Brabandt <cb@256bit.org>
parents: 33788
diff changeset
22 ICONV = "iconv.exe"
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
23 !ELSEIF EXIST ("$(ICONV_PATH)\iconv.exe")
33828
53bab9f88162 runtime(doc): Update doc Makefiles with comments from #13567 (#13577)
Christian Brabandt <cb@256bit.org>
parents: 33788
diff changeset
24 ICONV = "$(ICONV_PATH)\iconv.exe"
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
25 !ENDIF
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
26
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
27 RM = del /q
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
28 PS = PowerShell.exe
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
29
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
30 PSFLAGS = -NoLogo -NoProfile -Command
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
31
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
32
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
33 all : $(CONVERTED)
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
34
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
35 # Convert menu_zh_cn.utf-8.vim to create menu_chinese_gb.936.vim.
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
36 menu_chinese_gb.936.vim : menu_zh_cn.utf-8.vim
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
37 -$(RM) $@
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
38 !IF DEFINED (ICONV)
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
39 $(ICONV) -f UTF-8 -t CP936 $? >$@
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
40 !ELSE
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
41 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
42 [System.IO.File]::ReadAllText(\"$?\", \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
43 [System.Text.Encoding]::GetEncoding(65001)), \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
44 [System.Text.Encoding]::GetEncoding(936))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
45 !ENDIF
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
46 $(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
47 [System.Text.Encoding]::GetEncoding(936)) -replace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
48 'scriptencoding utf-8', 'scriptencoding cp936' -replace \
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
49 ' Original translations', ' Generated from $?, DO NOT EDIT'; \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
50 [System.IO.File]::WriteAllText(\"$@\", $$out, \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
51 [System.Text.Encoding]::GetEncoding(936))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
52
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
53 # Convert menu_zh_tw.utf-8.vim to create menu_chinese_taiwan.950.vim.
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
54 menu_chinese_taiwan.950.vim : menu_zh_tw.utf-8.vim
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
55 -$(RM) $@
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
56 !IF DEFINED (ICONV)
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
57 $(ICONV) -f UTF-8 -t CP950 $? >$@
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
58 !ELSE
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
59 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
60 [System.IO.File]::ReadAllText(\"$?\", \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
61 [System.Text.Encoding]::GetEncoding(65001)), \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
62 [System.Text.Encoding]::GetEncoding(950))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
63 !ENDIF
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
64 $(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
65 [System.Text.Encoding]::GetEncoding(950)) -replace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
66 'scriptencoding utf-8', 'scriptencoding cp950' -replace \
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
67 ' Original translations', ' Generated from $?, DO NOT EDIT'; \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
68 [System.IO.File]::WriteAllText(\"$@\", $$out, \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
69 [System.Text.Encoding]::GetEncoding(950))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
70
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
71 # Convert menu_cs_cz.utf-8.vim to create menu_cs_cz.iso_8859-2.vim.
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
72 menu_cs_cz.iso_8859-2.vim : menu_cs_cz.utf-8.vim
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
73 -$(RM) $@
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
74 !IF DEFINED (ICONV)
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
75 $(ICONV) -f UTF-8 -t ISO-8859-2 $? >$@
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
76 !ELSE
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
77 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
78 [System.IO.File]::ReadAllText(\"$?\", \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
79 [System.Text.Encoding]::GetEncoding(65001)), \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
80 [System.Text.Encoding]::GetEncoding(28592))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
81 !ENDIF
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
82 $(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
83 [System.Text.Encoding]::GetEncoding(28592)) -replace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
84 ' Czech \(UTF-8\)', ' Czech (ISO-8859-2)' -replace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
85 \"scriptencoding utf-8\", \"scriptencoding iso-8859-2\" -replace \
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
86 \" Original translations\", \" Generated from $?, DO NOT EDIT\"; \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
87 [System.IO.File]::WriteAllText(\"$@\", $$out, \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
88 [System.Text.Encoding]::GetEncoding(28592))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
89
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
90 # Convert menu_cs_cz.utf-8.vim to create menu_czech_czech_republic.1250.vim.
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
91 menu_czech_czech_republic.1250.vim : menu_cs_cz.utf-8.vim
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
92 -$(RM) $@
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
93 !IF DEFINED (ICONV)
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
94 $(ICONV) -f UTF-8 -t CP1250 $? >$@
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
95 !ELSE
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
96 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
97 [System.IO.File]::ReadAllText(\"$?\", \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
98 [System.Text.Encoding]::GetEncoding(65001)), \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
99 [System.Text.Encoding]::GetEncoding(1250))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
100 !ENDIF
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
101 $(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
102 [System.Text.Encoding]::GetEncoding(1250)) -replace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
103 ' Czech \(UTF-8\)', ' Czech (CP1250)' -replace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
104 \"scriptencoding utf-8\", \"scriptencoding cp1250\" -replace \
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
105 \" Original translations\", \" Generated from $?, DO NOT EDIT\"; \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
106 [System.IO.File]::WriteAllText(\"$@\", $$out, \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
107 [System.Text.Encoding]::GetEncoding(1250))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
108
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
109 # Convert menu_cs_cz.utf-8.vim to create menu_czech_czech_republic.ascii.vim.
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
110 menu_czech_czech_republic.ascii.vim : menu_cs_cz.utf-8.vim
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
111 -$(RM) $@
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
112 $(PS) $(PSFLAGS) [System.IO.File]::ReadAllText(\"$?\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
113 [System.Text.Encoding]::GetEncoding(65001)) -replace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
114 'scriptencoding utf-8', 'scriptencoding latin1' -replace \
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
115 ' Original translations', ' Generated from $?, DO NOT EDIT' -replace \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
116 'Czech \(UTF-8\)', 'Czech (ASCII - without diacritics)' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
117 [char]193, 'A' -creplace [char]225, 'a' -creplace [char]268, 'C' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
118 [char]269, 'c' -creplace [char]270, 'D' -creplace [char]271, 'd' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
119 [char]201, 'E' -creplace [char]233, 'e' -creplace [char]282, 'E' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
120 [char]283, 'e' -creplace [char]205, 'I' -creplace [char]237, 'i' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
121 [char]327, 'N' -creplace [char]328, 'n' -creplace [char]211, 'O' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
122 [char]243, 'o' -creplace [char]344, 'R' -creplace [char]345, 'r' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
123 [char]352, 'S' -creplace [char]353, 's' -creplace [char]356, 'T' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
124 [char]357, 't' -creplace [char]218, 'U' -creplace [char]250, 'u' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
125 [char]366, 'U' -creplace [char]367, 'u' -creplace [char]221, 'Y' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
126 [char]253, 'y' -creplace [char]381, 'Z' -creplace [char]382, 'z' ^| \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
127 1>nul New-Item -Force -Path . -ItemType file -Name $@
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
128
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
129 # Convert menu_hu_hu.utf-8.vim to create menu_hu_hu.iso_8859-2.vim.
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
130 menu_hu_hu.iso_8859-2.vim : menu_hu_hu.utf-8.vim
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
131 -$(RM) $@
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
132 !IF DEFINED (ICONV)
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
133 $(ICONV) -f UTF-8 -t ISO-8859-2 $? >$@
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
134 !ELSE
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
135 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
136 [System.IO.File]::ReadAllText(\"$?\", \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
137 [System.Text.Encoding]::GetEncoding(65001)), \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
138 [System.Text.Encoding]::GetEncoding(28592))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
139 !ENDIF
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
140 $(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
141 [System.Text.Encoding]::GetEncoding(28592)) -replace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
142 'scriptencoding utf-8', 'scriptencoding iso-8859-2' -replace \
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
143 ' Original translations', ' Generated from $?, DO NOT EDIT'; \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
144 [System.IO.File]::WriteAllText(\"$@\", $$out, \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
145 [System.Text.Encoding]::GetEncoding(28592))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
146
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
147 # Convert menu_ja_jp.utf-8.vim to create menu_ja_jp.euc-jp.vim.
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
148 menu_ja_jp.euc-jp.vim : menu_ja_jp.utf-8.vim
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
149 -$(RM) $@
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
150 !IF DEFINED (ICONV)
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
151 $(ICONV) -f UTF-8 -t EUC-JP $? >$@
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
152 !ELSE
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
153 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
154 [System.IO.File]::ReadAllText(\"$?\", \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
155 [System.Text.Encoding]::GetEncoding(65001)), \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
156 [System.Text.Encoding]::GetEncoding(51932))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
157 !ENDIF
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
158 $(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
159 [System.Text.Encoding]::GetEncoding(51932)) -replace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
160 'Japanese \(UTF-8\)', 'Japanese (EUC-JP)' -replace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
161 'scriptencoding utf-8', 'scriptencoding euc-jp' -replace \
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
162 ' Original translations', ' Generated from $?, DO NOT EDIT'; \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
163 [System.IO.File]::WriteAllText(\"$@\", $$out, \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
164 [System.Text.Encoding]::GetEncoding(51932))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
165
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
166 # Convert menu_ja_jp.utf-8.vim to create menu_japanese_japan.932.vim.
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
167 menu_japanese_japan.932.vim : menu_ja_jp.utf-8.vim
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
168 -$(RM) $@
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
169 !IF DEFINED (ICONV)
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
170 $(ICONV) -f UTF-8 -t CP932 $? >$@
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
171 !ELSE
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
172 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
173 [System.IO.File]::ReadAllText(\"$?\", \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
174 [System.Text.Encoding]::GetEncoding(65001)), \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
175 [System.Text.Encoding]::GetEncoding(932))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
176 !ENDIF
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
177 $(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
178 [System.Text.Encoding]::GetEncoding(932)) -replace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
179 'Japanese \(UTF-8\)', 'Japanese (CP932)' -replace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
180 'scriptencoding utf-8', 'scriptencoding cp932' -replace \
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
181 ' Original translations', ' Generated from $?, DO NOT EDIT'; \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
182 [System.IO.File]::WriteAllText(\"$@\", $$out, \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
183 [System.Text.Encoding]::GetEncoding(932))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
184
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
185 # Convert menu_ko_kr.utf-8.vim to create menu_ko_kr.euckr.vim.
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
186 menu_ko_kr.euckr.vim : menu_ko_kr.utf-8.vim
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
187 -$(RM) $@
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
188 !IF DEFINED (ICONV)
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
189 $(ICONV) -f UTF-8 -t EUC-KR $? >$@
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
190 !ELSE
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
191 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
192 [System.IO.File]::ReadAllText(\"$?\", \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
193 [System.Text.Encoding]::GetEncoding(65001)), \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
194 [System.Text.Encoding]::GetEncoding(51949))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
195 !ENDIF
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
196 $(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
197 [System.Text.Encoding]::GetEncoding(51949)) -replace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
198 'scriptencoding utf-8', 'scriptencoding euc-kr' -replace \
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
199 ' Original translations', ' Generated from $?, DO NOT EDIT'; \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
200 [System.IO.File]::WriteAllText(\"$@\", $$out, \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
201 [System.Text.Encoding]::GetEncoding(51949))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
202
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
203 # Convert menu_pl_pl.utf-8.vim to create menu_pl_pl.iso_8859-2.vim.
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
204 menu_pl_pl.iso_8859-2.vim : menu_pl_pl.utf-8.vim
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
205 -$(RM) $@
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
206 !IF DEFINED (ICONV)
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
207 $(ICONV) -f UTF-8 -t ISO-8859-2 $? >$@
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
208 !ELSE
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
209 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
210 [System.IO.File]::ReadAllText(\"$?\", \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
211 [System.Text.Encoding]::GetEncoding(65001)), \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
212 [System.Text.Encoding]::GetEncoding(28592))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
213 !ENDIF
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
214 $(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
215 [System.Text.Encoding]::GetEncoding(28592)) -replace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
216 'scriptencoding utf-8', 'scriptencoding iso-8859-2' -replace \
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
217 ' Original translations', ' Generated from $?, DO NOT EDIT'; \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
218 [System.IO.File]::WriteAllText(\"$@\", $$out, \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
219 [System.Text.Encoding]::GetEncoding(28592))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
220
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
221 # Convert menu_pl_pl.utf-8.vim to create menu_polish_poland.1250.vim.
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
222 menu_polish_poland.1250.vim : menu_pl_pl.utf-8.vim
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
223 -$(RM) $@
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
224 !IF DEFINED (ICONV)
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
225 $(ICONV) -f UTF-8 -t CP1250 $? >$@
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
226 !ELSE
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
227 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
228 [System.IO.File]::ReadAllText(\"$?\", \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
229 [System.Text.Encoding]::GetEncoding(65001)), \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
230 [System.Text.Encoding]::GetEncoding(1250))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
231 !ENDIF
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
232 $(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
233 [System.Text.Encoding]::GetEncoding(1250)) -replace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
234 'scriptencoding utf-8', 'scriptencoding cp1250' -replace \
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
235 ' Original translations', ' Generated from $?, DO NOT EDIT'; \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
236 [System.IO.File]::WriteAllText(\"$@\", $$out, \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
237 [System.Text.Encoding]::GetEncoding(1250))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
238
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
239 # Convert menu_ru_ru.utf-8.vim to create menu_ru_ru.cp1251.vim.
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
240 menu_ru_ru.cp1251.vim : menu_ru_ru.utf-8.vim
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
241 -$(RM) $@
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
242 !IF DEFINED (ICONV)
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
243 $(ICONV) -f UTF-8 -t CP1251 $? >$@
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
244 !ELSE
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
245 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
246 [System.IO.File]::ReadAllText(\"$?\", \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
247 [System.Text.Encoding]::GetEncoding(65001)), \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
248 [System.Text.Encoding]::GetEncoding(1251))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
249 !ENDIF
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
250 $(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
251 [System.Text.Encoding]::GetEncoding(1251)) -replace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
252 'scriptencoding utf-8', 'scriptencoding cp1251' -replace \
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
253 ' Original translations', ' Generated from $?, DO NOT EDIT'; \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
254 [System.IO.File]::WriteAllText(\"$@\", $$out, \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
255 [System.Text.Encoding]::GetEncoding(1251))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
256
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
257 # Convert menu_ru_ru.utf-8.vim to create menu_ru_ru.koi8-r.vim.
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
258 menu_ru_ru.koi8-r.vim : menu_ru_ru.utf-8.vim
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
259 -$(RM) $@
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
260 !IF DEFINED (ICONV)
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
261 $(ICONV) -f UTF-8 -t KOI8-R $? >$@
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
262 !ELSE
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
263 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
264 [System.IO.File]::ReadAllText(\"$?\", \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
265 [System.Text.Encoding]::GetEncoding(65001)), \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
266 [System.Text.Encoding]::GetEncoding(20866))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
267 !ENDIF
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
268 $(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
269 [System.Text.Encoding]::GetEncoding(20866)) -replace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
270 'scriptencoding utf-8', 'scriptencoding koi8-r' -replace \
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
271 ' Original translations', ' Generated from $?, DO NOT EDIT'; \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
272 [System.IO.File]::WriteAllText(\"$@\", $$out, \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
273 [System.Text.Encoding]::GetEncoding(20866))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
274
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
275 # Convert menu_slovak_slovak_republic.1250.vim to create menu_sk_sk.iso_8859-2.vim.
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
276 menu_sk_sk.iso_8859-2.vim : menu_slovak_slovak_republic.1250.vim
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
277 -$(RM) $@
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
278 !IF DEFINED (ICONV)
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
279 $(ICONV) -f CP1250 -t ISO-8859-2 $? >$@
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
280 !ELSE
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
281 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
282 [System.IO.File]::ReadAllText(\"$?\", \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
283 [System.Text.Encoding]::GetEncoding(1250)), \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
284 [System.Text.Encoding]::GetEncoding(28592))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
285 !ENDIF
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
286 $(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
287 [System.Text.Encoding]::GetEncoding(28592)) -replace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
288 'scriptencoding cp1250', 'scriptencoding iso-8859-2' -replace \
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
289 ' Original translations', ' Generated from $?, DO NOT EDIT'; \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
290 [System.IO.File]::WriteAllText(\"$@\", $$out, \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
291 [System.Text.Encoding]::GetEncoding(28592))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
292
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
293 # Convert menu_sl_si.utf-8.vim to create menu_sl_si.cp1250.vim.
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
294 menu_sl_si.cp1250.vim : menu_sl_si.utf-8.vim
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
295 -$(RM) $@
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
296 !IF DEFINED (ICONV)
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
297 $(ICONV) -f UTF-8 -t CP1250 $? >$@
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
298 !ELSE
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
299 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
300 [System.IO.File]::ReadAllText(\"$?\", \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
301 [System.Text.Encoding]::GetEncoding(65001)), \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
302 [System.Text.Encoding]::GetEncoding(1250))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
303 !ENDIF
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
304 $(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
305 [System.Text.Encoding]::GetEncoding(1250)) -replace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
306 'scriptencoding utf-8', 'scriptencoding cp1250' -replace \
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
307 ' Original translations', ' Generated from $?, DO NOT EDIT'; \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
308 [System.IO.File]::WriteAllText(\"$@\", $$out, \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
309 [System.Text.Encoding]::GetEncoding(1250))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
310
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
311 # Convert menu_sl_si.utf-8.vim to create menu_sl_si.latin2.vim.
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
312 menu_sl_si.latin2.vim : menu_sl_si.utf-8.vim
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
313 -$(RM) $@
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
314 !IF DEFINED (ICONV)
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
315 $(ICONV) -f UTF-8 -t ISO-8859-2 $? >$@
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
316 !ELSE
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
317 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
318 [System.IO.File]::ReadAllText(\"$?\", \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
319 [System.Text.Encoding]::GetEncoding(65001)), \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
320 [System.Text.Encoding]::GetEncoding(28592))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
321 !ENDIF
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
322 $(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
323 [System.Text.Encoding]::GetEncoding(28592)) -replace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
324 'scriptencoding utf-8', 'scriptencoding iso-8859-2' -replace \
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
325 ' Original translations', ' Generated from $?, DO NOT EDIT'; \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
326 [System.IO.File]::WriteAllText(\"$@\", $$out, \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
327 [System.Text.Encoding]::GetEncoding(28592))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
328
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
329 # Convert menu_sr_rs.utf-8.vim to create menu_sr_rs.ascii.vim.
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
330 menu_sr_rs.ascii.vim : menu_sr_rs.utf-8.vim
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
331 -$(RM) $@
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
332 $(PS) $(PSFLAGS) [System.IO.File]::ReadAllText(\"$?\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
333 [System.Text.Encoding]::GetEncoding(65001)) -replace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
334 'scriptencoding utf-8', 'scriptencoding latin1' -replace \
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
335 ' Original translations', ' Generated from $?, DO NOT EDIT' -creplace \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
336 [char]1072, 'a' -creplace [char]1073, 'b' -creplace [char]1074, 'v' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
337 [char]1075, 'g' -creplace [char]1076, 'd' -creplace [char]1106, 'dj' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
338 [char]1077, 'e' -creplace [char]1078, 'z' -creplace [char]1079, 'z' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
339 [char]1080, 'i' -creplace [char]1112, 'j' -creplace [char]1082, 'k' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
340 [char]1083, 'l' -creplace [char]1113, 'lj' -creplace [char]1084, 'm' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
341 [char]1085, 'n' -creplace [char]1114, 'nj' -creplace [char]1086, 'o' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
342 [char]1087, 'p' -creplace [char]1088, 'r' -creplace [char]1089, 's' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
343 [char]1090, 't' -creplace [char]1115, 'c' -creplace [char]1091, 'u' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
344 [char]1092, 'f' -creplace [char]1093, 'h' -creplace [char]1094, 'c' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
345 [char]1095, 'c' -creplace [char]1119, 'dz' -creplace [char]1096, 's' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
346 [char]1040, 'A' -creplace [char]1041, 'B' -creplace [char]1042, 'V' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
347 [char]1043, 'G' -creplace [char]1044, 'D' -creplace [char]1026, 'Đ' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
348 [char]1045, 'E' -creplace [char]1046, 'Z' -creplace [char]1047, 'Z' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
349 [char]1048, 'I' -creplace [char]1032, 'J' -creplace [char]1050, 'K' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
350 [char]1051, 'L' -creplace [char]1033, 'Lj' -creplace [char]1052, 'M' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
351 [char]1053, 'N' -creplace [char]1034, 'Nj' -creplace [char]1054, 'O' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
352 [char]1055, 'P' -creplace [char]1056, 'R' -creplace [char]1057, 'S' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
353 [char]1058, 'T' -creplace [char]1035, 'C' -creplace [char]1059, 'U' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
354 [char]1060, 'F' -creplace [char]1061, 'H' -creplace [char]1062, 'C' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
355 [char]1063, 'C' -creplace [char]1039, 'Dz' -creplace [char]1064, 'S' ^| \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
356 1>nul New-Item -Force -Path . -ItemType file -Name $@
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
357
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
358 # Convert menu_sr_rs.utf-8.vim to create menu_sr_rs.iso_8859-2.vim.
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
359 menu_sr_rs.iso_8859-2.vim : menu_sr_rs.utf-8.vim
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
360 -$(RM) $@
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
361 $(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$?\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
362 [System.Text.Encoding]::GetEncoding(65001)) -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
363 [char]1072, 'a' -creplace [char]1073, 'b' -creplace [char]1074, 'v' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
364 [char]1075, 'g' -creplace [char]1076, 'd' -creplace [char]1106, [char]273 -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
365 [char]1077, 'e' -creplace [char]1078, [char]382 -creplace [char]1079, 'z' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
366 [char]1080, 'i' -creplace [char]1112, 'j' -creplace [char]1082, 'k' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
367 [char]1083, 'l' -creplace [char]1113, 'lj' -creplace [char]1084, 'm' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
368 [char]1085, 'n' -creplace [char]1114, 'nj' -creplace [char]1086, 'o' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
369 [char]1087, 'p' -creplace [char]1088, 'r' -creplace [char]1089, 's' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
370 [char]1090, 't' -creplace [char]1115, [char]263 -creplace [char]1091, 'u' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
371 [char]1092, 'f' -creplace [char]1093, 'h' -creplace [char]1094, 'c' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
372 [char]1095, [char]269 -creplace [char]1119, 'dz' -creplace [char]1096, [char]353 -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
373 [char]1040, 'A' -creplace [char]1041, 'B' -creplace [char]1042, 'V' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
374 [char]1043, 'G' -creplace [char]1044, 'D' -creplace [char]1026, 'Đ' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
375 [char]1045, 'E' -creplace [char]1046, [char]381 -creplace [char]1047, 'Z' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
376 [char]1048, 'I' -creplace [char]1032, 'J' -creplace [char]1050, 'K' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
377 [char]1051, 'L' -creplace [char]1033, 'Lj'-creplace [char]1052, 'M' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
378 [char]1053, 'N' -creplace [char]1034, 'Nj' -creplace [char]1054, 'O' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
379 [char]1055, 'P' -creplace [char]1056, 'R' -creplace [char]1057, 'S' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
380 [char]1058, 'T' -creplace [char]1035, [char]262 -creplace [char]1059, 'U' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
381 [char]1060, 'F' -creplace [char]1061, 'H' -creplace [char]1062, 'C' -creplace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
382 [char]1063, [char]268 -creplace [char]1039, 'Dz' -creplace [char]1064, [char]352 -replace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
383 'scriptencoding utf-8', 'scriptencoding iso-8859-2' -replace \
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
384 ' Original translations', ' Generated from $?, DO NOT EDIT'; \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
385 [System.IO.File]::WriteAllText(\"$@\", $$out, [System.Text.Encoding]::GetEncoding(28592))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
386
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
387 # Convert menu_sr_rs.utf-8.vim to create menu_sr_rs.iso_8859-5.vim.
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
388 menu_sr_rs.iso_8859-5.vim : menu_sr_rs.utf-8.vim
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
389 -$(RM) $@
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
390 !IF DEFINED (ICONV)
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
391 $(ICONV) -f UTF-8 -t ISO-8859-5 $? >$@
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
392 !ELSE
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
393 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
394 [System.IO.File]::ReadAllText(\"$?\", \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
395 [System.Text.Encoding]::GetEncoding(65001)), \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
396 [System.Text.Encoding]::GetEncoding(28595))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
397 !ENDIF
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
398 $(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
399 [System.Text.Encoding]::GetEncoding(28595)) -replace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
400 'scriptencoding utf-8', 'scriptencoding iso-8859-5' -replace \
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
401 ' Original translations', ' Generated from $?, DO NOT EDIT'; \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
402 [System.IO.File]::WriteAllText(\"$@\", $$out, \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
403 [System.Text.Encoding]::GetEncoding(28595))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
404
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
405 # Convert menu_tr_tr.utf-8.vim to create menu_tr_tr.cp1254.vim.
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
406 menu_tr_tr.cp1254.vim : menu_tr_tr.utf-8.vim
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
407 -$(RM) $@
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
408 !IF DEFINED (ICONV)
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
409 $(ICONV) -f UTF-8 -t CP1254 $? >$@
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
410 !ELSE
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
411 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
412 [System.IO.File]::ReadAllText(\"$?\", \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
413 [System.Text.Encoding]::GetEncoding(65001)), \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
414 [System.Text.Encoding]::GetEncoding(1254))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
415 !ENDIF
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
416 $(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
417 [System.Text.Encoding]::GetEncoding(1254)) -replace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
418 'scriptencoding utf-8', 'scriptencoding cp1254' -replace \
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
419 ' Original translations', ' Generated from $?, DO NOT EDIT'; \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
420 [System.IO.File]::WriteAllText(\"$@\", $$out, \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
421 [System.Text.Encoding]::GetEncoding(1254))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
422
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
423 # Convert menu_tr_tr.utf-8.vim to create menu_tr_tr.iso_8859-9.vim.
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
424 menu_tr_tr.iso_8859-9.vim : menu_tr_tr.utf-8.vim
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
425 -$(RM) $@
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
426 !IF DEFINED (ICONV)
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
427 $(ICONV) -f UTF-8 -t ISO-8859-9 $? >$@
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
428 !ELSE
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
429 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
430 [System.IO.File]::ReadAllText(\"$?\", \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
431 [System.Text.Encoding]::GetEncoding(65001)), \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
432 [System.Text.Encoding]::GetEncoding(28599))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
433 !ENDIF
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
434 $(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
435 [System.Text.Encoding]::GetEncoding(28599)) -replace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
436 'scriptencoding utf-8', 'scriptencoding iso-8859-9' -replace \
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
437 ' Original translations', ' Generated from $?, DO NOT EDIT'; \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
438 [System.IO.File]::WriteAllText(\"$@\", $$out, \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
439 [System.Text.Encoding]::GetEncoding(28599))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
440
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
441 # Convert menu_uk_ua.utf-8.vim to create menu_uk_ua.cp1251.vim.
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
442 menu_uk_ua.cp1251.vim : menu_uk_ua.utf-8.vim
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
443 -$(RM) $@
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
444 !IF DEFINED (ICONV)
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
445 $(ICONV) -f UTF-8 -t CP1251 $? >$@
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
446 !ELSE
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
447 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
448 [System.IO.File]::ReadAllText(\"$?\", \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
449 [System.Text.Encoding]::GetEncoding(65001)), \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
450 [System.Text.Encoding]::GetEncoding(1251))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
451 !ENDIF
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
452 $(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
453 [System.Text.Encoding]::GetEncoding(1251)) -replace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
454 'scriptencoding utf-8', 'scriptencoding cp1251' -replace \
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
455 ' Original translations', ' Generated from $?, DO NOT EDIT'; \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
456 [System.IO.File]::WriteAllText(\"$@\", $$out, \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
457 [System.Text.Encoding]::GetEncoding(1251))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
458
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
459 # Convert menu_uk_ua.utf-8.vim to create menu_uk_ua.koi8-u.vim.
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
460 menu_uk_ua.koi8-u.vim : menu_uk_ua.utf-8.vim
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
461 -$(RM) $@
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
462 !IF DEFINED (ICONV)
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
463 $(ICONV) -f UTF-8 -t KOI8-U $? >$@
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
464 !ELSE
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
465 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
466 [System.IO.File]::ReadAllText(\"$?\", \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
467 [System.Text.Encoding]::GetEncoding(65001)), \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
468 [System.Text.Encoding]::GetEncoding(21866))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
469 !ENDIF
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
470 $(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
471 [System.Text.Encoding]::GetEncoding(21866)) -replace \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
472 'scriptencoding utf-8', 'scriptencoding koi8-u' -replace \
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
473 ' Original translations', ' Generated from $?, DO NOT EDIT'; \
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
474 [System.IO.File]::WriteAllText(\"$@\", $$out, \
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
475 [System.Text.Encoding]::GetEncoding(21866))
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
476
34180
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
477 clean :
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
478 @for %%G in ($(CONVERTED)) do (if exist .\%%G ($(RM) %%G))
dc55e7f6eb80 runtime(lang): improve makefiles, add clean rule, fix typo (#13856)
Christian Brabandt <cb@256bit.org>
parents: 33828
diff changeset
479
33788
5ea4c560f01c runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
480 # vim: set noet sw=8 ts=8 sts=0 wm=0 tw=0 ft=make: