Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the Vim documentation on Windows |
| 3 | # |
Restorer | 74a2331 | 2024-03-28 09:19:44 +0000 | [diff] [blame] | 4 | # 20.03.24, Restorer, <restorer@mail2k.ru> |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 5 | |
| 6 | # Common components |
| 7 | !INCLUDE Make_all.mak |
| 8 | |
| 9 | |
| 10 | # TODO: to think about what to use instead of awk. PowerShell? |
| 11 | #AWK = |
| 12 | |
zeertzjq | 7c51528 | 2024-11-10 20:26:12 +0100 | [diff] [blame] | 13 | # Correct the following line for the where executable file vim is installed. |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 14 | # Please do not put the path in quotes. |
RestorerZ | 2730d38 | 2025-01-17 14:04:44 +0100 | [diff] [blame] | 15 | VIMPROG = ..\..\src\vim.exe |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 16 | |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 17 | # Correct the following line for the directory where iconv installed. |
| 18 | # Please do not put the path in quotes. |
| 19 | ICONV_PATH = D:\Programs\GetText\bin |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 20 | |
| 21 | # In case some package like GnuWin32, UnixUtils |
| 22 | # or something similar is installed on the system. |
| 23 | # If the "touch" program is installed on the system, but it is not registered |
| 24 | # in the %PATH% environment variable, then specify the full path to this file. |
| 25 | !IF EXIST ("touch.exe") |
Restorer | 74a2331 | 2024-03-28 09:19:44 +0000 | [diff] [blame] | 26 | TOUCH = touch.exe %1 |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 27 | !ELSE |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 28 | TOUCH = if exist %1 ( copy /b %1+,, ) else ( type nul >%1 ) |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 29 | !ENDIF |
| 30 | |
| 31 | # In case some package like GnuWin32, UnixUtils, gettext |
| 32 | # or something similar is installed on the system. |
| 33 | # If the "iconv" program is installed on the system, but it is not registered |
| 34 | # in the %PATH% environment variable, then specify the full path to this file. |
| 35 | !IF EXIST ("iconv.exe") |
Restorer | 74a2331 | 2024-03-28 09:19:44 +0000 | [diff] [blame] | 36 | ICONV = iconv.exe |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 37 | !ELSEIF EXIST ("$(ICONV_PATH)\iconv.exe") |
| 38 | ICONV = "$(ICONV_PATH)\iconv.exe" |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 39 | !ENDIF |
| 40 | |
| 41 | RM = del /q |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 42 | PS = PowerShell.exe |
| 43 | |
| 44 | PSFLAGS = -NoLogo -NoProfile -Command |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 45 | |
| 46 | .SUFFIXES : |
| 47 | .SUFFIXES : .c .o .txt .html |
| 48 | |
| 49 | |
| 50 | all : tags perlhtml $(CONVERTED) |
| 51 | |
| 52 | # Use "doctags" to generate the tags file. Only works for English! |
| 53 | tags : doctags $(DOCS) |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 54 | doctags.exe $(DOCS) | sort /L C /O tags |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 55 | $(PS) $(PSFLAGS) \ |
Restorer | 74a2331 | 2024-03-28 09:19:44 +0000 | [diff] [blame] | 56 | (Get-Content -Raw tags ^| Get-Unique ^| %%{$$_ -replace \"`r\", \"\"}) \ |
RestorerZ | 2730d38 | 2025-01-17 14:04:44 +0100 | [diff] [blame] | 57 | ^| New-Item -Path . -Name tags -ItemType file -Force |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 58 | |
| 59 | doctags : doctags.c |
| 60 | $(CC) doctags.c |
| 61 | |
| 62 | |
| 63 | # Use Vim to generate the tags file. Can only be used when Vim has been |
| 64 | # compiled and installed. Supports multiple languages. |
| 65 | vimtags : $(DOCS) |
RestorerZ | cd33faf | 2024-07-04 17:47:16 +0200 | [diff] [blame] | 66 | @"$(VIMPROG)" --clean -esX -V1 -u doctags.vim |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 67 | |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 68 | # TODO: |
| 69 | #html: noerrors tags $(HTMLS) |
| 70 | # if exist errors.log (more errors.log) |
| 71 | |
| 72 | # TODO: |
| 73 | #noerrors: |
| 74 | # $(RM) errors.log |
| 75 | |
| 76 | # TODO: |
| 77 | #.txt.html: |
| 78 | |
| 79 | |
| 80 | # TODO: |
| 81 | #index.html: help.txt |
| 82 | |
| 83 | |
| 84 | # TODO: |
| 85 | #vimindex.html: index.txt |
| 86 | |
| 87 | |
| 88 | # TODO: |
| 89 | #tags.ref tags.html: tags |
| 90 | |
| 91 | # Perl version of .txt to .html conversion. |
| 92 | # There can't be two rules to produce a .html from a .txt file. |
| 93 | # Just run over all .txt files each time one changes. It's fast anyway. |
| 94 | perlhtml : tags $(DOCS) |
| 95 | vim2html.pl tags $(DOCS) |
| 96 | |
| 97 | # Check URLs in the help with "curl" or "powershell". |
| 98 | test_urls : |
RestorerZ | cd33faf | 2024-07-04 17:47:16 +0200 | [diff] [blame] | 99 | "$(VIMPROG)" --clean -S test_urls.vim |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 100 | |
| 101 | clean : |
RestorerZ | 2730d38 | 2025-01-17 14:04:44 +0100 | [diff] [blame] | 102 | - $(RM) doctags.exe doctags.obj |
| 103 | - $(RM) *.html vim-stylesheet.css |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 104 | |
| 105 | |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 106 | arabic.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 107 | <<touch.bat $@ |
| 108 | @$(TOUCH) |
| 109 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 110 | |
| 111 | farsi.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 112 | <<touch.bat $@ |
| 113 | @$(TOUCH) |
| 114 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 115 | |
| 116 | hebrew.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 117 | <<touch.bat $@ |
| 118 | @$(TOUCH) |
| 119 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 120 | |
| 121 | russian.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 122 | <<touch.bat $@ |
| 123 | @$(TOUCH) |
| 124 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 125 | |
| 126 | gui_w32.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 127 | <<touch.bat $@ |
| 128 | @$(TOUCH) |
| 129 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 130 | |
| 131 | if_ole.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 132 | <<touch.bat $@ |
| 133 | @$(TOUCH) |
| 134 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 135 | |
| 136 | os_390.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 137 | <<touch.bat $@ |
| 138 | @$(TOUCH) |
| 139 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 140 | |
| 141 | os_amiga.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 142 | <<touch.bat $@ |
| 143 | @$(TOUCH) |
| 144 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 145 | |
| 146 | os_beos.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 147 | <<touch.bat $@ |
| 148 | @$(TOUCH) |
| 149 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 150 | |
| 151 | os_dos.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 152 | <<touch.bat $@ |
| 153 | @$(TOUCH) |
| 154 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 155 | |
| 156 | os_haiku.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 157 | <<touch.bat $@ |
| 158 | @$(TOUCH) |
| 159 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 160 | |
| 161 | os_mac.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 162 | <<touch.bat $@ |
| 163 | @$(TOUCH) |
| 164 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 165 | |
| 166 | os_mint.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 167 | <<touch.bat $@ |
| 168 | @$(TOUCH) |
| 169 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 170 | |
| 171 | os_msdos.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 172 | <<touch.bat $@ |
| 173 | @$(TOUCH) |
| 174 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 175 | |
| 176 | os_os2.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 177 | <<touch.bat $@ |
| 178 | @$(TOUCH) |
| 179 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 180 | |
| 181 | os_qnx.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 182 | <<touch.bat $@ |
| 183 | @$(TOUCH) |
| 184 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 185 | |
| 186 | os_risc.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 187 | <<touch.bat $@ |
| 188 | @$(TOUCH) |
| 189 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 190 | |
| 191 | os_win32.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 192 | <<touch.bat $@ |
| 193 | @$(TOUCH) |
| 194 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 195 | |
| 196 | convert-all : $(CONVERTED) |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 197 | !IF [$(PS) $(PSFLAGS) "exit $$psversiontable.psversion.major"] == 2 |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 198 | !ERROR The program "PowerShell" version 3.0 or higher is required to work |
| 199 | !ENDIF |
| 200 | |
| 201 | vim-da.UTF-8.1 : vim-da.1 |
| 202 | !IF DEFINED (ICONV) |
| 203 | $(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@ |
| 204 | !ELSE |
| 205 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 206 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 207 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \ |
| 208 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 209 | !ENDIF |
| 210 | |
| 211 | vimdiff-da.UTF-8.1 : vimdiff-da.1 |
| 212 | !IF DEFINED (ICONV) |
| 213 | $(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@ |
| 214 | !ELSE |
| 215 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 216 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 217 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \ |
| 218 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 219 | !ENDIF |
| 220 | |
| 221 | vimtutor-da.UTF-8.1 : vimtutor-da.1 |
| 222 | !IF DEFINED (ICONV) |
| 223 | $(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@ |
| 224 | !ELSE |
| 225 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 226 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 227 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \ |
| 228 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 229 | !ENDIF |
| 230 | |
| 231 | vim-de.UTF-8.1 : vim-de.1 |
| 232 | !IF DEFINED (ICONV) |
| 233 | $(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@ |
| 234 | !ELSE |
| 235 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 236 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 237 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \ |
| 238 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 239 | !ENDIF |
| 240 | |
| 241 | evim-fr.UTF-8.1 : evim-fr.1 |
| 242 | !IF DEFINED (ICONV) |
| 243 | $(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@ |
| 244 | !ELSE |
| 245 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 246 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 247 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \ |
| 248 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 249 | !ENDIF |
| 250 | |
| 251 | vim-fr.UTF-8.1 : vim-fr.1 |
| 252 | !IF DEFINED (ICONV) |
| 253 | $(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@ |
| 254 | !ELSE |
| 255 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 256 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 257 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \ |
| 258 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 259 | !ENDIF |
| 260 | |
| 261 | vimdiff-fr.UTF-8.1 : vimdiff-fr.1 |
| 262 | !IF DEFINED (ICONV) |
| 263 | $(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@ |
| 264 | !ELSE |
| 265 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 266 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 267 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \ |
| 268 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 269 | !ENDIF |
| 270 | |
| 271 | vimtutor-fr.UTF-8.1 : vimtutor-fr.1 |
| 272 | !IF DEFINED (ICONV) |
| 273 | $(ICONV) -f ISO-8859-1 -t utf-8 $? >$@ |
| 274 | !ELSE |
| 275 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 276 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 277 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \ |
| 278 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 279 | !ENDIF |
| 280 | |
| 281 | xxd-fr.UTF-8.1 : xxd-fr.1 |
| 282 | !IF DEFINED (ICONV) |
| 283 | $(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@ |
| 284 | !ELSE |
| 285 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 286 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 287 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \ |
| 288 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 289 | !ENDIF |
| 290 | |
| 291 | evim-it.UTF-8.1 : evim-it.1 |
| 292 | !IF DEFINED (ICONV) |
| 293 | $(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@ |
| 294 | !ELSE |
| 295 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 296 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 297 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \ |
| 298 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 299 | !ENDIF |
| 300 | |
| 301 | vim-it.UTF-8.1 : vim-it.1 |
| 302 | !IF DEFINED (ICONV) |
| 303 | $(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@ |
| 304 | !ELSE |
| 305 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 306 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 307 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \ |
| 308 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 309 | !ENDIF |
| 310 | |
| 311 | vimdiff-it.UTF-8.1 : vimdiff-it.1 |
| 312 | !IF DEFINED (ICONV) |
| 313 | $(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@ |
| 314 | !ELSE |
| 315 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 316 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 317 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \ |
| 318 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 319 | !ENDIF |
| 320 | |
| 321 | vimtutor-it.UTF-8.1 : vimtutor-it.1 |
| 322 | !IF DEFINED (ICONV) |
| 323 | $(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@ |
| 324 | !ELSE |
| 325 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 326 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 327 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \ |
| 328 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 329 | !ENDIF |
| 330 | |
| 331 | xxd-it.UTF-8.1 : xxd-it.1 |
| 332 | !IF DEFINED (ICONV) |
| 333 | $(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@ |
| 334 | !ELSE |
| 335 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 336 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 337 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \ |
| 338 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 339 | !ENDIF |
| 340 | |
| 341 | evim-pl.UTF-8.1 : evim-pl.1 |
| 342 | !IF DEFINED (ICONV) |
| 343 | $(ICONV) -f ISO-8859-2 -t UTF-8 $? >$@ |
| 344 | !ELSE |
| 345 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 346 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 347 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28592)) ^| \ |
| 348 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 349 | !ENDIF |
| 350 | |
| 351 | vim-pl.UTF-8.1 : vim-pl.1 |
| 352 | !IF DEFINED (ICONV) |
| 353 | $(ICONV) -f ISO-8859-2 -t UTF-8 $? >$@ |
| 354 | !ELSE |
| 355 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 356 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 357 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28592)) ^| \ |
| 358 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 359 | !ENDIF |
| 360 | |
| 361 | vimdiff-pl.UTF-8.1 : vimdiff-pl.1 |
| 362 | !IF DEFINED (ICONV) |
| 363 | $(ICONV) -f ISO-8859-2 -t UTF-8 $? >$@ |
| 364 | !ELSE |
| 365 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 366 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 367 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28592)) ^| \ |
| 368 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 369 | !ENDIF |
| 370 | |
| 371 | vimtutor-pl.UTF-8.1 : vimtutor-pl.1 |
| 372 | !IF DEFINED (ICONV) |
| 373 | $(ICONV) -f ISO-8859-2 -t UTF-8 $? >$@ |
| 374 | !ELSE |
| 375 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 376 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 377 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28592)) ^| \ |
| 378 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 379 | !ENDIF |
| 380 | |
| 381 | xxd-pl.UTF-8.1 : xxd-pl.1 |
| 382 | !IF DEFINED (ICONV) |
| 383 | $(ICONV) -f ISO-8859-2 -t UTF-8 $? >$@ |
| 384 | !ELSE |
| 385 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 386 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 387 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28592)) ^| \ |
| 388 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 389 | !ENDIF |
| 390 | |
| 391 | evim-ru.UTF-8.1 : evim-ru.1 |
| 392 | !IF DEFINED (ICONV) |
| 393 | $(ICONV) -f KOI8-R -t UTF-8 $? >$@ |
| 394 | !ELSE |
| 395 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 396 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 397 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(20866)) ^| \ |
| 398 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 399 | !ENDIF |
| 400 | |
| 401 | vim-ru.UTF-8.1 : vim-ru.1 |
| 402 | !IF DEFINED (ICONV) |
| 403 | $(ICONV) -f KOI8-R -t UTF-8 $? >$@ |
| 404 | !ELSE |
| 405 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 406 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 407 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(20866)) ^| \ |
| 408 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 409 | !ENDIF |
| 410 | |
| 411 | vimdiff-ru.UTF-8.1 : vimdiff-ru.1 |
| 412 | !IF DEFINED (ICONV) |
| 413 | $(ICONV) -f KOI8-R -t UTF-8 $? >$@ |
| 414 | !ELSE |
| 415 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 416 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 417 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(20866)) ^| \ |
| 418 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 419 | !ENDIF |
| 420 | |
| 421 | vimtutor-ru.UTF-8.1 : vimtutor-ru.1 |
| 422 | !IF DEFINED (ICONV) |
| 423 | $(ICONV) -f KOI8-R -t UTF-8 $? >$@ |
| 424 | !ELSE |
| 425 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 426 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 427 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(20866)) ^| \ |
| 428 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 429 | !ENDIF |
| 430 | |
| 431 | xxd-ru.UTF-8.1 : xxd-ru.1 |
| 432 | !IF DEFINED (ICONV) |
| 433 | $(ICONV) -f KOI8-R -t UTF-8 $? >$@ |
| 434 | !ELSE |
| 435 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 436 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 437 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(20866)) ^| \ |
| 438 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 439 | !ENDIF |
| 440 | |
| 441 | evim-tr.UTF-8.1 : evim-tr.1 |
| 442 | !IF DEFINED (ICONV) |
| 443 | $(ICONV) -f ISO-8859-9 -t UTF-8 $? >$@ |
| 444 | !ELSE |
| 445 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 446 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 447 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28599)) ^| \ |
| 448 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 449 | !ENDIF |
| 450 | |
| 451 | vim-tr.UTF-8.1 : vim-tr.1 |
| 452 | !IF DEFINED (ICONV) |
| 453 | $(ICONV) -f ISO-8859-9 -t UTF-8 $? >$@ |
| 454 | !ELSE |
| 455 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 456 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 457 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28599)) ^| \ |
| 458 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 459 | !ENDIF |
| 460 | |
| 461 | vimdiff-tr.UTF-8.1 : vimdiff-tr.1 |
| 462 | !IF DEFINED (ICONV) |
| 463 | $(ICONV) -f ISO-8859-9 -t UTF-8 $? >$@ |
| 464 | !ELSE |
| 465 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 466 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 467 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28599)) ^| \ |
| 468 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 469 | !ENDIF |
| 470 | |
| 471 | vimtutor-tr.UTF-8.1 : vimtutor-tr.1 |
| 472 | !IF DEFINED (ICONV) |
| 473 | $(ICONV) -f ISO-8859-9 -t UTF-8 $? >$@ |
| 474 | !ELSE |
| 475 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 476 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 477 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28599)) ^| \ |
| 478 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 479 | !ENDIF |
| 480 | |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 481 | # vim: set noet sw=8 ts=8 sts=0 wm=0 tw=0 ft=make: |