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