Ada | a425353 | 2022-02-19 12:06:09 +0000 | [diff] [blame] | 1 | # Author: Ada (Haowen) Yu <me@yuhaowen.com> |
| 2 | |
Restorer | ab4f27e | 2023-11-18 16:12:20 +0000 | [diff] [blame] | 3 | # Common components |
| 4 | include Make_all.mak |
Bram Moolenaar | 2ecbe53 | 2022-07-29 21:36:21 +0100 | [diff] [blame] | 5 | |
Yee Cheng Chin | 16110cc | 2023-03-16 21:04:31 +0000 | [diff] [blame] | 6 | SED = LANG=C sed |
Ada | a425353 | 2022-02-19 12:06:09 +0000 | [diff] [blame] | 7 | |
Restorer | ab4f27e | 2023-11-18 16:12:20 +0000 | [diff] [blame] | 8 | all: $(CONVERTED) |
| 9 | |
| 10 | |
Ada | a425353 | 2022-02-19 12:06:09 +0000 | [diff] [blame] | 11 | # Convert menu_zh_cn.utf-8.vim to create menu_chinese_gb.936.vim. |
| 12 | menu_chinese_gb.936.vim: menu_zh_cn.utf-8.vim |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 13 | rm -f $@ |
| 14 | iconv -f UTF-8 -t CP936 $< | \ |
Restorer | ab4f27e | 2023-11-18 16:12:20 +0000 | [diff] [blame] | 15 | $(SED) -e 's/scriptencoding utf-8/scriptencoding cp936/' \ |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 16 | -e 's/" Original translations/" Generated from $<, DO NOT EDIT/' \ |
| 17 | > $@ |
Ada | a425353 | 2022-02-19 12:06:09 +0000 | [diff] [blame] | 18 | |
| 19 | # Convert menu_zh_tw.utf-8.vim to create menu_chinese_taiwan.950.vim. |
| 20 | menu_chinese_taiwan.950.vim: menu_zh_tw.utf-8.vim |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 21 | rm -f $@ |
| 22 | iconv -f UTF-8 -t CP950 $< | \ |
Restorer | ab4f27e | 2023-11-18 16:12:20 +0000 | [diff] [blame] | 23 | $(SED) -e 's/scriptencoding utf-8/scriptencoding cp950/' \ |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 24 | -e 's/" Original translations/" Generated from $<, DO NOT EDIT/' \ |
| 25 | > $@ |
Ada | a425353 | 2022-02-19 12:06:09 +0000 | [diff] [blame] | 26 | |
| 27 | # Convert menu_cs_cz.utf-8.vim to create menu_cs_cz.iso_8859-2.vim. |
| 28 | menu_cs_cz.iso_8859-2.vim: menu_cs_cz.utf-8.vim |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 29 | rm -f $@ |
| 30 | iconv -f UTF-8 -t ISO-8859-2 $< | \ |
Yee Cheng Chin | 16110cc | 2023-03-16 21:04:31 +0000 | [diff] [blame] | 31 | $(SED) -e 's/scriptencoding utf-8/scriptencoding iso-8859-2/' \ |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 32 | -e 's/" Original translations/" Generated from $<, DO NOT EDIT/' \ |
| 33 | -e 's/\(" Menu Translations:.*\)(.*)/\1(ISO8859-2)/' \ |
| 34 | > $@ |
Ada | a425353 | 2022-02-19 12:06:09 +0000 | [diff] [blame] | 35 | |
| 36 | # Convert menu_cs_cz.utf-8.vim to create menu_czech_czech_republic.1250.vim. |
| 37 | menu_czech_czech_republic.1250.vim: menu_cs_cz.utf-8.vim |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 38 | rm -f $@ |
| 39 | iconv -f UTF-8 -t CP1250 $< | \ |
| 40 | $(SED) -e 's/scriptencoding utf-8/scriptencoding cp1250/' \ |
| 41 | -e 's/" Original translations/" Generated from $<, DO NOT EDIT/' \ |
| 42 | -e 's/\(" Menu Translations:.*\)(.*)/\1(CP1250)/' \ |
| 43 | > $@ |
Ada | a425353 | 2022-02-19 12:06:09 +0000 | [diff] [blame] | 44 | |
| 45 | # Convert menu_cs_cz.utf-8.vim to create menu_czech_czech_republic.ascii.vim. |
| 46 | menu_czech_czech_republic.ascii.vim: menu_cs_cz.utf-8.vim |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 47 | rm -f $@ |
Yee Cheng Chin | 16110cc | 2023-03-16 21:04:31 +0000 | [diff] [blame] | 48 | $(SED) -e 's/Á/A/g' -e 's/á/a/g' -e 's/Č/C/g' -e 's/č/c/g' -e 's/Ď/D/g' \ |
Ada | a425353 | 2022-02-19 12:06:09 +0000 | [diff] [blame] | 49 | -e 's/ď/d/g' -e 's/É/E/g' -e 's/é/e/g' -e 's/Ě/E/g' -e 's/ě/e/g' \ |
| 50 | -e 's/Í/I/g' -e 's/í/i/g' -e 's/Ň/N/g' -e 's/ň/n/g' -e 's/Ó/O/g' \ |
| 51 | -e 's/ó/o/g' -e 's/Ř/R/g' -e 's/ř/r/g' -e 's/Š/S/g' -e 's/š/s/g' \ |
| 52 | -e 's/Ť/T/g' -e 's/ť/t/g' -e 's/Ú/U/g' -e 's/ú/u/g' -e 's/Ů/U/g' \ |
| 53 | -e 's/ů/u/g' -e 's/Ý/Y/g' -e 's/ý/y/g' -e 's/Ž/Z/g' -e 's/ž/z/g' \ |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 54 | -e 's/scriptencoding utf-8/scriptencoding latin1/' \ |
| 55 | -e 's/" Original translations/" Generated from $<, DO NOT EDIT/' \ |
| 56 | -e 's/\(" Menu Translations:.*\)(.*)/\1(ASCII - without diacritics)/' \ |
| 57 | $< > $@ |
Ada | a425353 | 2022-02-19 12:06:09 +0000 | [diff] [blame] | 58 | |
| 59 | # Convert menu_ja_jp.utf-8.vim to create menu_ja_jp.euc-jp.vim. |
| 60 | menu_ja_jp.euc-jp.vim: menu_ja_jp.utf-8.vim |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 61 | rm -f $@ |
| 62 | iconv -f UTF-8 -t EUC-JP $< | \ |
| 63 | $(SED) -e 's/scriptencoding utf-8/scriptencoding euc-jp/' \ |
| 64 | -e 's/" Original translations/" Generated from $<, DO NOT EDIT/' \ |
| 65 | -e 's/\(" Menu Translations:.*\)(.*)/\1(EUC-JP)/' \ |
| 66 | > $@ |
Ada | a425353 | 2022-02-19 12:06:09 +0000 | [diff] [blame] | 67 | |
| 68 | # Convert menu_ja_jp.utf-8.vim to create menu_japanese_japan.932.vim. |
| 69 | menu_japanese_japan.932.vim: menu_ja_jp.utf-8.vim |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 70 | rm -f $@ |
| 71 | iconv -f UTF-8 -t CP932 $< | \ |
| 72 | $(SED) -e 's/scriptencoding utf-8/scriptencoding cp932/' \ |
| 73 | -e 's/" Original translations/" Generated from $<, DO NOT EDIT/' \ |
| 74 | -e 's/\(" Menu Translations:.*\)(.*)/\1(CP932)/' \ |
| 75 | > $@ |
Ada | a425353 | 2022-02-19 12:06:09 +0000 | [diff] [blame] | 76 | |
| 77 | # Convert menu_ko_kr.utf-8.vim to create menu_ko_kr.euckr.vim. |
| 78 | menu_ko_kr.euckr.vim: menu_ko_kr.utf-8.vim |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 79 | rm -f $@ |
| 80 | iconv -f UTF-8 -t EUC-KR $< | \ |
Restorer | ab4f27e | 2023-11-18 16:12:20 +0000 | [diff] [blame] | 81 | $(SED) -e 's/scriptencoding utf-8/scriptencoding euc-kr/' \ |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 82 | -e 's/" Original translations/" Generated from $<, DO NOT EDIT/' \ |
| 83 | > $@ |
Ada | a425353 | 2022-02-19 12:06:09 +0000 | [diff] [blame] | 84 | |
| 85 | # Convert menu_pl_pl.utf-8.vim to create menu_pl_pl.iso_8859-2.vim. |
| 86 | menu_pl_pl.iso_8859-2.vim: menu_pl_pl.utf-8.vim |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 87 | rm -f $@ |
| 88 | iconv -f UTF-8 -t ISO-8859-2 $< | \ |
Restorer | ab4f27e | 2023-11-18 16:12:20 +0000 | [diff] [blame] | 89 | $(SED) -e 's/scriptencoding utf-8/scriptencoding iso-8859-2/' \ |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 90 | -e 's/" Original translations/" Generated from $<, DO NOT EDIT/' \ |
| 91 | > $@ |
Ada | a425353 | 2022-02-19 12:06:09 +0000 | [diff] [blame] | 92 | |
| 93 | # Convert menu_pl_pl.utf-8.vim to create menu_polish_poland.1250.vim. |
| 94 | menu_polish_poland.1250.vim: menu_pl_pl.utf-8.vim |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 95 | rm -f $@ |
| 96 | iconv -f UTF-8 -t CP1250 $< | \ |
Restorer | ab4f27e | 2023-11-18 16:12:20 +0000 | [diff] [blame] | 97 | $(SED) -e 's/scriptencoding utf-8/scriptencoding cp1250/' \ |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 98 | -e 's/" Original translations/" Generated from $<, DO NOT EDIT/' \ |
| 99 | > $@ |
Ada | a425353 | 2022-02-19 12:06:09 +0000 | [diff] [blame] | 100 | |
| 101 | # Convert menu_ru_ru.utf-8.vim to create menu_ru_ru.koi8-r.vim. |
| 102 | menu_ru_ru.koi8-r.vim: menu_ru_ru.utf-8.vim |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 103 | rm -f $@ |
| 104 | iconv -f UTF-8 -t KOI8-R $< | \ |
Restorer | ab4f27e | 2023-11-18 16:12:20 +0000 | [diff] [blame] | 105 | $(SED) -e 's/scriptencoding utf-8/scriptencoding koi8-r/' \ |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 106 | -e 's/" Original translations/" Generated from $<, DO NOT EDIT/' \ |
| 107 | > $@ |
Ada | a425353 | 2022-02-19 12:06:09 +0000 | [diff] [blame] | 108 | |
RestorerZ | 9a6cf34 | 2023-08-27 19:00:42 +0200 | [diff] [blame] | 109 | # Convert menu_ru_ru.utf-8.vim to create menu_ru_ru.cp1251.vim. |
| 110 | menu_ru_ru.cp1251.vim: menu_ru_ru.utf-8.vim |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 111 | rm -f $@ |
| 112 | iconv -f UTF-8 -t CP1251 $< | \ |
Restorer | ab4f27e | 2023-11-18 16:12:20 +0000 | [diff] [blame] | 113 | $(SED) -e 's/scriptencoding utf-8/scriptencoding cp1251/' \ |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 114 | -e 's/" Original translations/" Generated from $<, DO NOT EDIT/' \ |
| 115 | > $@ |
RestorerZ | 9a6cf34 | 2023-08-27 19:00:42 +0200 | [diff] [blame] | 116 | |
Ada | a425353 | 2022-02-19 12:06:09 +0000 | [diff] [blame] | 117 | # Convert menu_sl_si.utf-8.vim to create menu_sl_si.cp1250.vim. |
| 118 | menu_sl_si.cp1250.vim: menu_sl_si.utf-8.vim |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 119 | rm -f $@ |
| 120 | iconv -f UTF-8 -t CP1250 $< | \ |
| 121 | $(SED) -e 's/scriptencoding utf-8/scriptencoding cp1250/' \ |
| 122 | -e 's/" Original translations/" Generated from $<, DO NOT EDIT/' \ |
| 123 | > $@ |
Ada | a425353 | 2022-02-19 12:06:09 +0000 | [diff] [blame] | 124 | |
Restorer | ab4f27e | 2023-11-18 16:12:20 +0000 | [diff] [blame] | 125 | # for naming encodings, see `:h encoding-names` |
| 126 | # Convert menu_sl_si.utf-8.vim to create menu_sl_si.latin2.vim. |
Ada | a425353 | 2022-02-19 12:06:09 +0000 | [diff] [blame] | 127 | menu_sl_si.latin2.vim: menu_sl_si.utf-8.vim |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 128 | rm -f $@ |
| 129 | iconv -f UTF-8 -t ISO-8859-2 $< | \ |
Restorer | ab4f27e | 2023-11-18 16:12:20 +0000 | [diff] [blame] | 130 | $(SED) -e 's/scriptencoding utf-8/scriptencoding iso-8859-2/' \ |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 131 | -e 's/" Original translations/" Generated from $<, DO NOT EDIT/' \ |
| 132 | > $@ |
Ada | a425353 | 2022-02-19 12:06:09 +0000 | [diff] [blame] | 133 | |
| 134 | # Convert menu_tr_tr.utf-8.vim to create menu_tr_tr.cp1254.vim. |
| 135 | menu_tr_tr.cp1254.vim: menu_tr_tr.utf-8.vim |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 136 | rm -f $@ |
| 137 | iconv -f UTF-8 -t CP1254 $< | \ |
Restorer | ab4f27e | 2023-11-18 16:12:20 +0000 | [diff] [blame] | 138 | $(SED) -e 's/scriptencoding utf-8/scriptencoding cp1254/' \ |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 139 | -e 's/" Original translations/" Generated from $<, DO NOT EDIT/' \ |
| 140 | > $@ |
Ada | a425353 | 2022-02-19 12:06:09 +0000 | [diff] [blame] | 141 | |
| 142 | # Convert menu_tr_tr.utf-8.vim to create menu_tr_tr.iso_8859-9.vim. |
| 143 | menu_tr_tr.iso_8859-9.vim: menu_tr_tr.utf-8.vim |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 144 | rm -f $@ |
| 145 | iconv -f UTF-8 -t ISO-8859-9 $< | \ |
Restorer | ab4f27e | 2023-11-18 16:12:20 +0000 | [diff] [blame] | 146 | $(SED) -e 's/scriptencoding utf-8/scriptencoding iso-8859-9/' \ |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 147 | -e 's/" Original translations/" Generated from $<, DO NOT EDIT/' \ |
| 148 | > $@ |
Ada | a425353 | 2022-02-19 12:06:09 +0000 | [diff] [blame] | 149 | |
| 150 | # Convert menu_sr_rs.utf-8.vim to create menu_sr_rs.iso_8859-5.vim. |
| 151 | menu_sr_rs.iso_8859-5.vim: menu_sr_rs.utf-8.vim |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 152 | rm -f $@ |
| 153 | iconv -f UTF-8 -t ISO-8859-5 $< | \ |
Restorer | ab4f27e | 2023-11-18 16:12:20 +0000 | [diff] [blame] | 154 | $(SED) -e 's/scriptencoding utf-8/scriptencoding iso-8859-5/' \ |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 155 | -e 's/" Original translations/" Generated from $<, DO NOT EDIT/' \ |
| 156 | > $@ |
Ada | a425353 | 2022-02-19 12:06:09 +0000 | [diff] [blame] | 157 | |
Restorer | ab4f27e | 2023-11-18 16:12:20 +0000 | [diff] [blame] | 158 | # for naming encodings, see `:h encoding-names` |
Ada | a425353 | 2022-02-19 12:06:09 +0000 | [diff] [blame] | 159 | # Convert menu_sr_rs.utf-8.vim to create menu_sr_rs.iso_8859-2.vim. |
| 160 | menu_sr_rs.iso_8859-2.vim: menu_sr_rs.utf-8.vim |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 161 | rm -f $@ |
Yee Cheng Chin | 16110cc | 2023-03-16 21:04:31 +0000 | [diff] [blame] | 162 | $(SED) -e 's/а/a/g' -e 's/б/b/g' -e 's/в/v/g' -e 's/г/g/g' -e 's/д/d/g' \ |
Ada | a425353 | 2022-02-19 12:06:09 +0000 | [diff] [blame] | 163 | -e 's/ђ/đ/g' -e 's/е/e/g' -e 's/ж/ž/g' -e 's/з/z/g' -e 's/и/i/g' \ |
| 164 | -e 's/ј/j/g' -e 's/к/k/g' -e 's/л/l/g' -e 's/љ/lj/g' -e 's/м/m/g' \ |
| 165 | -e 's/н/n/g' -e 's/њ/nj/g' -e 's/о/o/g' -e 's/п/p/g' -e 's/р/r/g' \ |
| 166 | -e 's/с/s/g' -e 's/т/t/g' -e 's/ћ/ć/g' -e 's/у/u/g' -e 's/ф/f/g' \ |
| 167 | -e 's/х/h/g' -e 's/ц/c/g' -e 's/ч/č/g' -e 's/џ/dž/g' -e 's/ш/š/g' \ |
| 168 | -e 's/А/A/g' -e 's/Б/B/g' -e 's/В/V/g' -e 's/Г/G/g' -e 's/Д/D/g' \ |
| 169 | -e 's/Ђ/Đ/g' -e 's/Е/E/g' -e 's/Ж/Ž/g' -e 's/З/Z/g' -e 's/И/I/g' \ |
| 170 | -e 's/Ј/J/g' -e 's/К/K/g' -e 's/Л/L/g' -e 's/Љ/Lj/g' -e 's/М/M/g' \ |
| 171 | -e 's/Н/N/g' -e 's/Њ/Nj/g' -e 's/О/O/g' -e 's/П/P/g' -e 's/Р/R/g' \ |
| 172 | -e 's/С/S/g' -e 's/Т/T/g' -e 's/Ћ/Ć/g' -e 's/У/U/g' -e 's/Ф/F/g' \ |
| 173 | -e 's/Х/H/g' -e 's/Ц/C/g' -e 's/Ч/Č/g' -e 's/Џ/Dž/g' -e 's/Ш/Š/g' \ |
Restorer | ab4f27e | 2023-11-18 16:12:20 +0000 | [diff] [blame] | 174 | -e 's/scriptencoding utf-8/scriptencoding iso-8859-2/' \ |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 175 | -e 's/" Original translations/" Generated from $<, DO NOT EDIT/' \ |
| 176 | $< | iconv -f UTF-8 -t ISO-8859-2 \ |
| 177 | > $@ |
Ada | a425353 | 2022-02-19 12:06:09 +0000 | [diff] [blame] | 178 | |
| 179 | # Convert menu_sr_rs.utf-8.vim to create menu_sr_rs.ascii.vim. |
| 180 | menu_sr_rs.ascii.vim: menu_sr_rs.utf-8.vim |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 181 | rm -f $@ |
Yee Cheng Chin | 16110cc | 2023-03-16 21:04:31 +0000 | [diff] [blame] | 182 | $(SED) -e 's/а/a/g' -e 's/б/b/g' -e 's/в/v/g' -e 's/г/g/g' -e 's/д/d/g' \ |
Ada | a425353 | 2022-02-19 12:06:09 +0000 | [diff] [blame] | 183 | -e 's/ђ/dj/g' -e 's/е/e/g' -e 's/ж/z/g' -e 's/з/z/g' -e 's/и/i/g' \ |
| 184 | -e 's/ј/j/g' -e 's/к/k/g' -e 's/л/l/g' -e 's/љ/lj/g' -e 's/м/m/g' \ |
| 185 | -e 's/н/n/g' -e 's/њ/nj/g' -e 's/о/o/g' -e 's/п/p/g' -e 's/р/r/g' \ |
| 186 | -e 's/с/s/g' -e 's/т/t/g' -e 's/ћ/c/g' -e 's/у/u/g' -e 's/ф/f/g' \ |
| 187 | -e 's/х/h/g' -e 's/ц/c/g' -e 's/ч/c/g' -e 's/џ/dz/g' -e 's/ш/s/g' \ |
| 188 | -e 's/А/A/g' -e 's/Б/B/g' -e 's/В/V/g' -e 's/Г/G/g' -e 's/Д/D/g' \ |
| 189 | -e 's/Ђ/Đ/g' -e 's/Е/E/g' -e 's/Ж/Z/g' -e 's/З/Z/g' -e 's/И/I/g' \ |
| 190 | -e 's/Ј/J/g' -e 's/К/K/g' -e 's/Л/L/g' -e 's/Љ/Lj/g' -e 's/М/M/g' \ |
| 191 | -e 's/Н/N/g' -e 's/Њ/Nj/g' -e 's/О/O/g' -e 's/П/P/g' -e 's/Р/R/g' \ |
| 192 | -e 's/С/S/g' -e 's/Т/T/g' -e 's/Ћ/C/g' -e 's/У/U/g' -e 's/Ф/F/g' \ |
| 193 | -e 's/Х/H/g' -e 's/Ц/C/g' -e 's/Ч/C/g' -e 's/Џ/Dz/g' -e 's/Ш/S/g' \ |
Restorer | ab4f27e | 2023-11-18 16:12:20 +0000 | [diff] [blame] | 194 | -e 's/scriptencoding utf-8/scriptencoding latin1/' \ |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 195 | -e 's/" Original translations/" Generated from $<, DO NOT EDIT/' \ |
| 196 | $< > $@ |
Ada | a425353 | 2022-02-19 12:06:09 +0000 | [diff] [blame] | 197 | |
| 198 | # Convert menu_uk_ua.utf-8.vim to create menu_uk_ua.cp1251.vim. |
| 199 | menu_uk_ua.cp1251.vim: menu_uk_ua.utf-8.vim |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 200 | rm -f $@ |
| 201 | iconv -f UTF-8 -t CP1251 $< | \ |
Restorer | ab4f27e | 2023-11-18 16:12:20 +0000 | [diff] [blame] | 202 | $(SED) -e 's/scriptencoding utf-8/scriptencoding cp1251/' \ |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 203 | -e 's/" Original translations/" Generated from $<, DO NOT EDIT/' \ |
| 204 | > $@ |
Ada | a425353 | 2022-02-19 12:06:09 +0000 | [diff] [blame] | 205 | |
| 206 | # Convert menu_uk_ua.utf-8.vim to create menu_uk_ua.koi8-u.vim. |
| 207 | menu_uk_ua.koi8-u.vim: menu_uk_ua.utf-8.vim |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 208 | rm -f $@ |
| 209 | iconv -f UTF-8 -t KOI8-U $< | \ |
Restorer | ab4f27e | 2023-11-18 16:12:20 +0000 | [diff] [blame] | 210 | $(SED) -e 's/scriptencoding utf-8/scriptencoding koi8-u/' \ |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 211 | -e 's/" Original translations/" Generated from $<, DO NOT EDIT/' \ |
| 212 | > $@ |
Bram Moolenaar | 2ecbe53 | 2022-07-29 21:36:21 +0100 | [diff] [blame] | 213 | |
| 214 | # Convert menu_hu_hu.utf-8.vim to create menu_hu_hu.iso_8859-2.vim. |
| 215 | menu_hu_hu.iso_8859-2.vim: menu_hu_hu.utf-8.vim |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 216 | rm -f $@ |
| 217 | iconv -f UTF-8 -t ISO-8859-2 $< | \ |
Restorer | ab4f27e | 2023-11-18 16:12:20 +0000 | [diff] [blame] | 218 | $(SED) -e 's/scriptencoding utf-8/scriptencoding iso-8859-2/' \ |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 219 | -e 's/" Original translations/" Generated from $<, DO NOT EDIT/' \ |
| 220 | > $@ |
Bram Moolenaar | 2ecbe53 | 2022-07-29 21:36:21 +0100 | [diff] [blame] | 221 | |
| 222 | # Convert menu_slovak_slovak_republic.1250.vim to create menu_sk_sk.iso_8859-2.vim. |
| 223 | menu_sk_sk.iso_8859-2.vim: menu_slovak_slovak_republic.1250.vim |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 224 | rm -f $@ |
| 225 | iconv -f CP1250 -t ISO-8859-2 $< | \ |
Restorer | ab4f27e | 2023-11-18 16:12:20 +0000 | [diff] [blame] | 226 | $(SED) -e 's/scriptencoding cp1250/scriptencoding iso-8859-2/' \ |
K.Takata | ffd6d31 | 2023-11-29 04:44:28 +0900 | [diff] [blame^] | 227 | -e 's/" Original translations/" Generated from $<, DO NOT EDIT/' \ |
| 228 | > $@ |