Mercurial > vim
annotate runtime/lang/Make_mvc.mak @ 33788:5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Commit: https://github.com/vim/vim/commit/ab4f27e2a8ae72970e24b83a6828ed4d2c6f112f
Author: Restorer <69863286+RestorerZ@users.noreply.github.com>
Date: Sat Nov 18 16:12:20 2023 +0000
runtime(doc): Refactor doc-Makefiles (https://github.com/vim/vim/issues/13519)
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 18 Nov 2023 17:15:05 +0100 |
parents | |
children | 53bab9f88162 |
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 |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
13 # Correct the following line for the directory where iconv is installed |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
14 ICONV_PATH = D:\Programs\GetText\bin |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
15 |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
16 # In case some package like GnuWin32, UnixUtils, gettext |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
17 # or something similar is installed on the system. |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
18 # 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
|
19 # 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
|
20 !IF EXIST ("iconv.exe") |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
21 ICONV = iconv.exe |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
22 !ELSEIF EXIST ("$(ICONV_PATH)\iconv.exe") |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
23 ICONV="$(ICONV_PATH)\iconv.exe" |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
24 !ENDIF |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
25 |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
26 RM = del /q |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
27 |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
28 |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
29 all : $(CONVERTED) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
30 |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
31 # 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
|
32 menu_chinese_gb.936.vim : menu_zh_cn.utf-8.vim |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
33 $(RM) $@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
34 !IF DEFINED (ICONV) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
35 $(ICONV) -f UTF-8 -t CP936 $? >$@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
36 !ELSE |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
37 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
38 [System.IO.File]::WriteAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
39 [System.IO.File]::ReadAllText(\"$?\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
40 [System.Text.Encoding]::GetEncoding(65001)), \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
41 [System.Text.Encoding]::GetEncoding(936)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
42 !ENDIF |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
43 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
44 $$out = [System.IO.File]::ReadAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
45 [System.Text.Encoding]::GetEncoding(936)) -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
46 'scriptencoding utf-8', 'scriptencoding cp936' -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
47 ' Original translations', ' Generated from menu_zh_cn.utf-8.vim, DO NOT EDIT'; \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
48 [System.IO.File]::WriteAllText(\"$@\", $$out, \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
49 [System.Text.Encoding]::GetEncoding(936)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
50 |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
51 # 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
|
52 menu_chinese_taiwan.950.vim : menu_zh_tw.utf-8.vim |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
53 $(RM) $@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
54 !IF DEFINED (ICONV) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
55 $(ICONV) -f UTF-8 -t CP950 $? >$@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
56 !ELSE |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
57 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
58 [System.IO.File]::WriteAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
59 [System.IO.File]::ReadAllText(\"$?\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
60 [System.Text.Encoding]::GetEncoding(65001)), \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
61 [System.Text.Encoding]::GetEncoding(950)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
62 !ENDIF |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
63 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
64 $$out = [System.IO.File]::ReadAllText(\"$@\", \ |
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 \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
67 ' Original translations', ' Generated from menu_zh_tw.utf-8.vim, DO NOT EDIT'; \ |
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 |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
73 $(RM) $@ |
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 |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
77 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
78 [System.IO.File]::WriteAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
79 [System.IO.File]::ReadAllText(\"$?\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
80 [System.Text.Encoding]::GetEncoding(65001)), \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
81 [System.Text.Encoding]::GetEncoding(28592)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
82 !ENDIF |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
83 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
84 $$out = [System.IO.File]::ReadAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
85 [System.Text.Encoding]::GetEncoding(28592)) -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
86 ' Czech \(UTF-8\)', ' Czech (ISO-8859-2)' -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
87 \"scriptencoding utf-8\", \"scriptencoding iso-8859-2\" -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
88 \" Original translations\", \" Generated from menu_cs_cz.utf-8.vim, DO NOT EDIT\"; \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
89 [System.IO.File]::WriteAllText(\"$@\", $$out, \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
90 [System.Text.Encoding]::GetEncoding(28592)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
91 |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
92 # 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
|
93 menu_czech_czech_republic.1250.vim : menu_cs_cz.utf-8.vim |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
94 $(RM) $@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
95 !IF DEFINED (ICONV) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
96 $(ICONV) -f UTF-8 -t CP1250 $? >$@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
97 !ELSE |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
98 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
99 [System.IO.File]::WriteAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
100 [System.IO.File]::ReadAllText(\"$?\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
101 [System.Text.Encoding]::GetEncoding(65001)), \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
102 [System.Text.Encoding]::GetEncoding(1250)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
103 !ENDIF |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
104 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
105 $$out = [System.IO.File]::ReadAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
106 [System.Text.Encoding]::GetEncoding(1250)) -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
107 ' Czech \(UTF-8\)', ' Czech (CP1250)' -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
108 \"scriptencoding utf-8\", \"scriptencoding cp1250\" -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
109 \" Original translations\", \" Generated from menu_cs_cz.utf-8.vim, DO NOT EDIT\"; \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
110 [System.IO.File]::WriteAllText(\"$@\", $$out, \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
111 [System.Text.Encoding]::GetEncoding(1250)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
112 |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
113 # 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
|
114 menu_czech_czech_republic.ascii.vim : menu_cs_cz.utf-8.vim |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
115 $(RM) $@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
116 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
117 [System.IO.File]::ReadAllText(\"$?\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
118 [System.Text.Encoding]::GetEncoding(65001)) -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
119 'scriptencoding utf-8', 'scriptencoding latin1' -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
120 ' Original translations', ' Generated from menu_cs_cz.utf-8.vim, DO NOT EDIT' -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
121 'Czech \(UTF-8\)', 'Czech (ASCII - without diacritics)' -creplace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
122 [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
|
123 [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
|
124 [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
|
125 [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
|
126 [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
|
127 [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
|
128 [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
|
129 [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
|
130 [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
|
131 [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
|
132 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
133 |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
134 # 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
|
135 menu_hu_hu.iso_8859-2.vim : menu_hu_hu.utf-8.vim |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
136 $(RM) $@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
137 !IF DEFINED (ICONV) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
138 $(ICONV) -f UTF-8 -t ISO-8859-2 $? >$@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
139 !ELSE |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
140 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
141 [System.IO.File]::WriteAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
142 [System.IO.File]::ReadAllText(\"$?\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
143 [System.Text.Encoding]::GetEncoding(65001)), \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
144 [System.Text.Encoding]::GetEncoding(28592)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
145 !ENDIF |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
146 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
147 $$out = [System.IO.File]::ReadAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
148 [System.Text.Encoding]::GetEncoding(28592)) -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
149 'scriptencoding utf-8', 'scriptencoding iso-8859-2' -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
150 ' Original translations', ' Generated from menu_hu_hu.utf-8.vim, DO NOT EDIT'; \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
151 [System.IO.File]::WriteAllText(\"$@\", $$out, \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
152 [System.Text.Encoding]::GetEncoding(28592)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
153 |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
154 # 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
|
155 menu_ja_jp.euc-jp.vim : menu_ja_jp.utf-8.vim |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
156 $(RM) $@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
157 !IF DEFINED (ICONV) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
158 $(ICONV) -f UTF-8 -t EUC-JP $? >$@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
159 !ELSE |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
160 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
161 [System.IO.File]::WriteAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
162 [System.IO.File]::ReadAllText(\"$?\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
163 [System.Text.Encoding]::GetEncoding(65001)), \ |
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 !ENDIF |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
166 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
167 $$out = [System.IO.File]::ReadAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
168 [System.Text.Encoding]::GetEncoding(51932)) -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
169 'Japanese \(UTF-8\)', 'Japanese (EUC-JP)' -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
170 'scriptencoding utf-8', 'scriptencoding euc-jp' -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
171 ' Original translations', ' Generated from menu_ja_jp.utf-8.vim, DO NOT EDIT'; \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
172 [System.IO.File]::WriteAllText(\"$@\", $$out, \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
173 [System.Text.Encoding]::GetEncoding(51932)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
174 |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
175 # 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
|
176 menu_japanese_japan.932.vim : menu_ja_jp.utf-8.vim |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
177 $(RM) $@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
178 !IF DEFINED (ICONV) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
179 $(ICONV) -f UTF-8 -t CP932 $? >$@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
180 !ELSE |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
181 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
182 [System.IO.File]::WriteAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
183 [System.IO.File]::ReadAllText(\"$?\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
184 [System.Text.Encoding]::GetEncoding(65001)), \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
185 [System.Text.Encoding]::GetEncoding(932)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
186 !ENDIF |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
187 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
188 $$out = [System.IO.File]::ReadAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
189 [System.Text.Encoding]::GetEncoding(932)) -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
190 'Japanese \(UTF-8\)', 'Japanese (CP932)' -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
191 'scriptencoding utf-8', 'scriptencoding cp932' -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
192 ' Original translations', ' Generated from menu_ja_jp.utf-8.vim, DO NOT EDIT'; \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
193 [System.IO.File]::WriteAllText(\"$@\", $$out, \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
194 [System.Text.Encoding]::GetEncoding(932)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
195 |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
196 # 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
|
197 menu_ko_kr.euckr.vim : menu_ko_kr.utf-8.vim |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
198 $(RM) $@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
199 !IF DEFINED (ICONV) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
200 $(ICONV) -f UTF-8 -t EUC-KR $? >$@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
201 !ELSE |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
202 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
203 [System.IO.File]::WriteAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
204 [System.IO.File]::ReadAllText(\"$?\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
205 [System.Text.Encoding]::GetEncoding(65001)), \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
206 [System.Text.Encoding]::GetEncoding(51949)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
207 !ENDIF |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
208 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
209 $$out = [System.IO.File]::ReadAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
210 [System.Text.Encoding]::GetEncoding(51949)) -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
211 'scriptencoding utf-8', 'scriptencoding euc-kr' -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
212 ' Original translations', ' Generated from menu_ko_kr.utf-8.vim, DO NOT EDIT'; \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
213 [System.IO.File]::WriteAllText(\"$@\", $$out, \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
214 [System.Text.Encoding]::GetEncoding(51949)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
215 |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
216 # 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
|
217 menu_pl_pl.iso_8859-2.vim : menu_pl_pl.utf-8.vim |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
218 $(RM) $@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
219 !IF DEFINED (ICONV) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
220 $(ICONV) -f UTF-8 -t ISO-8859-2 $? >$@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
221 !ELSE |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
222 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
223 [System.IO.File]::WriteAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
224 [System.IO.File]::ReadAllText(\"$?\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
225 [System.Text.Encoding]::GetEncoding(65001)), \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
226 [System.Text.Encoding]::GetEncoding(28592)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
227 !ENDIF |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
228 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
229 $$out = [System.IO.File]::ReadAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
230 [System.Text.Encoding]::GetEncoding(28592)) -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
231 'scriptencoding utf-8', 'scriptencoding iso-8859-2' -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
232 ' Original translations', ' Generated from menu_pl_pl.utf-8.vim, DO NOT EDIT'; \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
233 [System.IO.File]::WriteAllText(\"$@\", $$out, \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
234 [System.Text.Encoding]::GetEncoding(28592)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
235 |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
236 # 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
|
237 menu_polish_poland.1250.vim : menu_pl_pl.utf-8.vim |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
238 $(RM) $@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
239 !IF DEFINED (ICONV) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
240 $(ICONV) -f UTF-8 -t CP1250 $? >$@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
241 !ELSE |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
242 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
243 [System.IO.File]::WriteAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
244 [System.IO.File]::ReadAllText(\"$?\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
245 [System.Text.Encoding]::GetEncoding(65001)), \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
246 [System.Text.Encoding]::GetEncoding(1250)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
247 !ENDIF |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
248 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
249 $$out = [System.IO.File]::ReadAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
250 [System.Text.Encoding]::GetEncoding(1250)) -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
251 'scriptencoding utf-8', 'scriptencoding cp1250' -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
252 ' Original translations', ' Generated from menu_pl_pl.utf-8.vim, DO NOT EDIT'; \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
253 [System.IO.File]::WriteAllText(\"$@\", $$out, \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
254 [System.Text.Encoding]::GetEncoding(1250)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
255 |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
256 # 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
|
257 menu_ru_ru.cp1251.vim : menu_ru_ru.utf-8.vim |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
258 $(RM) $@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
259 !IF DEFINED (ICONV) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
260 $(ICONV) -f UTF-8 -t CP1251 $? >$@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
261 !ELSE |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
262 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
263 [System.IO.File]::WriteAllText(\"$@\", \ |
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(1251)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
267 !ENDIF |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
268 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
269 $$out = [System.IO.File]::ReadAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
270 [System.Text.Encoding]::GetEncoding(1251)) -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
271 'scriptencoding utf-8', 'scriptencoding cp1251' -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
272 ' Original translations', ' Generated from menu_ru_ru.utf-8.vim, DO NOT EDIT'; \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
273 [System.IO.File]::WriteAllText(\"$@\", $$out, \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
274 [System.Text.Encoding]::GetEncoding(1251)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
275 |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
276 # 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
|
277 menu_ru_ru.koi8-r.vim : menu_ru_ru.utf-8.vim |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
278 $(RM) $@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
279 !IF DEFINED (ICONV) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
280 $(ICONV) -f UTF-8 -t KOI8-R $? >$@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
281 !ELSE |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
282 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
283 [System.IO.File]::WriteAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
284 [System.IO.File]::ReadAllText(\"$?\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
285 [System.Text.Encoding]::GetEncoding(65001)), \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
286 [System.Text.Encoding]::GetEncoding(20866)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
287 !ENDIF |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
288 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
289 $$out = [System.IO.File]::ReadAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
290 [System.Text.Encoding]::GetEncoding(20866)) -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
291 'scriptencoding utf-8', 'scriptencoding koi8-r' -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
292 ' Original translations', ' Generated from menu_ru_ru.utf-8.vim, DO NOT EDIT'; \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
293 [System.IO.File]::WriteAllText(\"$@\", $$out, \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
294 [System.Text.Encoding]::GetEncoding(20866)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
295 |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
296 # 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
|
297 menu_sk_sk.iso_8859-2.vim : menu_slovak_slovak_republic.1250.vim |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
298 $(RM) $@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
299 !IF DEFINED (ICONV) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
300 $(ICONV) -f CP1250 -t ISO-8859-2 $? >$@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
301 !ELSE |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
302 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
303 [System.IO.File]::WriteAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
304 [System.IO.File]::ReadAllText(\"$?\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
305 [System.Text.Encoding]::GetEncoding(1250)), \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
306 [System.Text.Encoding]::GetEncoding(28592)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
307 !ENDIF |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
308 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
309 $$out = [System.IO.File]::ReadAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
310 [System.Text.Encoding]::GetEncoding(28592)) -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
311 'scriptencoding cp1250', 'scriptencoding iso-8859-2' -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
312 ' Original translations', ' Generated from menu_slovak_slovak_republic.1250.vim, DO NOT EDIT'; \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
313 [System.IO.File]::WriteAllText(\"$@\", $$out, \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
314 [System.Text.Encoding]::GetEncoding(28592)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
315 |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
316 # 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
|
317 menu_sl_si.cp1250.vim : menu_sl_si.utf-8.vim |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
318 $(RM) $@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
319 !IF DEFINED (ICONV) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
320 $(ICONV) -f UTF-8 -t CP1250 $? >$@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
321 !ELSE |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
322 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
323 [System.IO.File]::WriteAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
324 [System.IO.File]::ReadAllText(\"$?\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
325 [System.Text.Encoding]::GetEncoding(65001)), \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
326 [System.Text.Encoding]::GetEncoding(1250)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
327 !ENDIF |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
328 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
329 $$out = [System.IO.File]::ReadAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
330 [System.Text.Encoding]::GetEncoding(1250)) -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
331 'scriptencoding utf-8', 'scriptencoding cp1250' -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
332 ' Original translations', ' Generated from menu_sl_si.utf-8.vim, DO NOT EDIT'; \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
333 [System.IO.File]::WriteAllText(\"$@\", $$out, \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
334 [System.Text.Encoding]::GetEncoding(1250)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
335 |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
336 # 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
|
337 menu_sl_si.latin2.vim : menu_sl_si.utf-8.vim |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
338 $(RM) $@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
339 !IF DEFINED (ICONV) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
340 $(ICONV) -f UTF-8 -t ISO-8859-2 $? >$@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
341 !ELSE |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
342 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
343 [System.IO.File]::WriteAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
344 [System.IO.File]::ReadAllText(\"$?\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
345 [System.Text.Encoding]::GetEncoding(65001)), \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
346 [System.Text.Encoding]::GetEncoding(28592)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
347 !ENDIF |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
348 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
349 $$out = [System.IO.File]::ReadAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
350 [System.Text.Encoding]::GetEncoding(28592)) -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
351 'scriptencoding utf-8', 'scriptencoding iso-8859-2' -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
352 ' Original translations', ' Generated from menu_sl_si.utf-8.vim, DO NOT EDIT'; \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
353 [System.IO.File]::WriteAllText(\"$@\", $$out, \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
354 [System.Text.Encoding]::GetEncoding(28592)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
355 |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
356 # 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
|
357 menu_sr_rs.ascii.vim : menu_sr_rs.utf-8.vim |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
358 $(RM) $@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
359 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
360 [System.IO.File]::ReadAllText(\"$?\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
361 [System.Text.Encoding]::GetEncoding(65001)) -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
362 'scriptencoding utf-8', 'scriptencoding latin1' -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
363 ' Original translations', ' Generated from menu_sr_rs.utf-8.vim, DO NOT EDIT' -creplace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
364 [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
|
365 [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
|
366 [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
|
367 [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
|
368 [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
|
369 [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
|
370 [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
|
371 [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
|
372 [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
|
373 [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
|
374 [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
|
375 [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
|
376 [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
|
377 [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
|
378 [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
|
379 [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
|
380 [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
|
381 [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
|
382 [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
|
383 [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
|
384 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
385 |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
386 # 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
|
387 menu_sr_rs.iso_8859-2.vim : menu_sr_rs.utf-8.vim |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
388 $(RM) $@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
389 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
390 $$out = [System.IO.File]::ReadAllText(\"$?\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
391 [System.Text.Encoding]::GetEncoding(65001)) -creplace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
392 [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
|
393 [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
|
394 [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
|
395 [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
|
396 [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
|
397 [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
|
398 [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
|
399 [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
|
400 [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
|
401 [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
|
402 [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
|
403 [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
|
404 [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
|
405 [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
|
406 [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
|
407 [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
|
408 [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
|
409 [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
|
410 [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
|
411 [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
|
412 'scriptencoding utf-8', 'scriptencoding iso-8859-2' -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
413 ' Original translations', ' Generated from menu_sr_rs.utf-8.vim, DO NOT EDIT'; \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
414 [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
|
415 |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
416 # 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
|
417 menu_sr_rs.iso_8859-5.vim : menu_sr_rs.utf-8.vim |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
418 $(RM) $@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
419 !IF DEFINED (ICONV) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
420 $(ICONV) -f UTF-8 -t ISO-8859-5 $? >$@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
421 !ELSE |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
422 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
423 [System.IO.File]::WriteAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
424 [System.IO.File]::ReadAllText(\"$?\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
425 [System.Text.Encoding]::GetEncoding(65001)), \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
426 [System.Text.Encoding]::GetEncoding(28595)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
427 !ENDIF |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
428 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
429 $$out = [System.IO.File]::ReadAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
430 [System.Text.Encoding]::GetEncoding(28595)) -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
431 'scriptencoding utf-8', 'scriptencoding iso-8859-5' -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
432 ' Original translations', ' Generated from menu_sr_rs.utf-8.vim, DO NOT EDIT'; \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
433 [System.IO.File]::WriteAllText(\"$@\", $$out, \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
434 [System.Text.Encoding]::GetEncoding(28595)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
435 |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
436 # 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
|
437 menu_tr_tr.cp1254.vim : menu_tr_tr.utf-8.vim |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
438 $(RM) $@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
439 !IF DEFINED (ICONV) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
440 $(ICONV) -f UTF-8 -t CP1254 $? >$@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
441 !ELSE |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
442 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
443 [System.IO.File]::WriteAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
444 [System.IO.File]::ReadAllText(\"$?\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
445 [System.Text.Encoding]::GetEncoding(65001)), \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
446 [System.Text.Encoding]::GetEncoding(1254)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
447 !ENDIF |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
448 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
449 $$out = [System.IO.File]::ReadAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
450 [System.Text.Encoding]::GetEncoding(1254)) -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
451 'scriptencoding utf-8', 'scriptencoding cp1254' -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
452 ' Original translations', ' Generated from menu_tr_tr.utf-8.vim, DO NOT EDIT'; \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
453 [System.IO.File]::WriteAllText(\"$@\", $$out, \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
454 [System.Text.Encoding]::GetEncoding(1254)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
455 |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
456 # 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
|
457 menu_tr_tr.iso_8859-9.vim : menu_tr_tr.utf-8.vim |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
458 $(RM) $@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
459 !IF DEFINED (ICONV) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
460 $(ICONV) -f UTF-8 -t ISO-8859-9 $? >$@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
461 !ELSE |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
462 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
463 [System.IO.File]::WriteAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
464 [System.IO.File]::ReadAllText(\"$?\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
465 [System.Text.Encoding]::GetEncoding(65001)), \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
466 [System.Text.Encoding]::GetEncoding(28599)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
467 !ENDIF |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
468 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
469 $$out = [System.IO.File]::ReadAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
470 [System.Text.Encoding]::GetEncoding(28599)) -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
471 'scriptencoding utf-8', 'scriptencoding iso-8859-9' -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
472 ' Original translations', ' Generated from menu_tr_tr.utf-8.vim, DO NOT EDIT'; \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
473 [System.IO.File]::WriteAllText(\"$@\", $$out, \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
474 [System.Text.Encoding]::GetEncoding(28599)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
475 |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
476 # 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
|
477 menu_uk_ua.cp1251.vim : menu_uk_ua.utf-8.vim |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
478 $(RM) $@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
479 !IF DEFINED (ICONV) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
480 $(ICONV) -f UTF-8 -t CP1251 $? >$@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
481 !ELSE |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
482 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
483 [System.IO.File]::WriteAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
484 [System.IO.File]::ReadAllText(\"$?\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
485 [System.Text.Encoding]::GetEncoding(65001)), \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
486 [System.Text.Encoding]::GetEncoding(1251)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
487 !ENDIF |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
488 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
489 $$out = [System.IO.File]::ReadAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
490 [System.Text.Encoding]::GetEncoding(1251)) -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
491 'scriptencoding utf-8', 'scriptencoding cp1251' -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
492 ' Original translations', ' Generated from menu_uk_ua.utf-8.vim, DO NOT EDIT'; \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
493 [System.IO.File]::WriteAllText(\"$@\", $$out, \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
494 [System.Text.Encoding]::GetEncoding(1251)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
495 |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
496 # 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
|
497 menu_uk_ua.koi8-u.vim : menu_uk_ua.utf-8.vim |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
498 $(RM) $@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
499 !IF DEFINED (ICONV) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
500 $(ICONV) -f UTF-8 -t KOI8-U $? >$@ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
501 !ELSE |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
502 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
503 [System.IO.File]::WriteAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
504 [System.IO.File]::ReadAllText(\"$?\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
505 [System.Text.Encoding]::GetEncoding(65001)), \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
506 [System.Text.Encoding]::GetEncoding(21866)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
507 !ENDIF |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
508 powershell -nologo -noprofile -Command \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
509 $$out = [System.IO.File]::ReadAllText(\"$@\", \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
510 [System.Text.Encoding]::GetEncoding(21866)) -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
511 'scriptencoding utf-8', 'scriptencoding koi8-u' -replace \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
512 ' Original translations', ' Generated from menu_uk_ua.utf-8.vim, DO NOT EDIT'; \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
513 [System.IO.File]::WriteAllText(\"$@\", $$out, \ |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
514 [System.Text.Encoding]::GetEncoding(21866)) |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
515 |
5ea4c560f01c
runtime(doc): Refactor doc-Makefiles (#13519)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
516 # vim: set noet sw=8 ts=8 sts=0 wm=0 tw=0 ft=make: |