Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the Vim documentation on Windows |
| 3 | # |
| 4 | # 17.11.23, Restorer, <restorer@mail2k.ru> |
| 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 | |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 13 | # Correct the following line for the where executeable file vim is installed. |
| 14 | # Please do not put the path in quotes. |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 15 | VIMEXE = D:\Programs\Vim\vim90\vim.exe |
| 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 | 8c14e79 | 2023-11-25 14:39:51 +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 | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 36 | ICONV = "iconv.exe" |
| 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) \ |
| 56 | (Get-Content -Raw tags ^| Get-Unique ^| %%{$$_ -replace \"`r\", \"\"})\ |
| 57 | ^| New-Item -Force -Path . -ItemType file -Name tags |
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) |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 66 | @"$(VIMEXE)" --clean -esX -V1 -u doctags.vim |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 67 | |
| 68 | |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 69 | uganda.nsis.txt : uganda.??? |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 70 | !@$(PS) $(PSFLAGS) $$ext=(Get-Item $?).Extension; (Get-Content $? ^| \ |
| 71 | %%{$$_ -replace '\s*\*[-a-zA-Z0-9.]*\*', '' -replace 'vim:tw=78:.*', ''})\ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 72 | ^| Set-Content $*$$ext |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 73 | !@$(PS) $(PSFLAGS) $$ext=(Get-Item $?).Extension; \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 74 | (Get-Content -Raw $(@B)$$ext).Trim() -replace '(\r\n){3,}', '$$1$$1' \ |
| 75 | ^| Set-Content $(@B)$$ext |
| 76 | |
| 77 | |
| 78 | # TODO: |
| 79 | #html: noerrors tags $(HTMLS) |
| 80 | # if exist errors.log (more errors.log) |
| 81 | |
| 82 | # TODO: |
| 83 | #noerrors: |
| 84 | # $(RM) errors.log |
| 85 | |
| 86 | # TODO: |
| 87 | #.txt.html: |
| 88 | |
| 89 | |
| 90 | # TODO: |
| 91 | #index.html: help.txt |
| 92 | |
| 93 | |
| 94 | # TODO: |
| 95 | #vimindex.html: index.txt |
| 96 | |
| 97 | |
| 98 | # TODO: |
| 99 | #tags.ref tags.html: tags |
| 100 | |
| 101 | # Perl version of .txt to .html conversion. |
| 102 | # There can't be two rules to produce a .html from a .txt file. |
| 103 | # Just run over all .txt files each time one changes. It's fast anyway. |
| 104 | perlhtml : tags $(DOCS) |
| 105 | vim2html.pl tags $(DOCS) |
| 106 | |
| 107 | # Check URLs in the help with "curl" or "powershell". |
| 108 | test_urls : |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 109 | "$(VIMEXE)" --clean -S test_urls.vim |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 110 | |
| 111 | clean : |
| 112 | $(RM) doctags.exe doctags.obj |
| 113 | $(RM) *.html vim-stylesheet.css |
| 114 | |
| 115 | |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 116 | arabic.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 | farsi.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 | hebrew.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 | russian.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 | gui_w32.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 | if_ole.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_390.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_amiga.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_beos.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_dos.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_haiku.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_mac.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_mint.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_msdos.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_os2.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_qnx.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 | os_risc.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 197 | <<touch.bat $@ |
| 198 | @$(TOUCH) |
| 199 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 200 | |
| 201 | os_win32.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 202 | <<touch.bat $@ |
| 203 | @$(TOUCH) |
| 204 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 205 | |
| 206 | convert-all : $(CONVERTED) |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 207 | !IF [$(PS) $(PSFLAGS) "exit $$psversiontable.psversion.major"] == 2 |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 208 | !ERROR The program "PowerShell" version 3.0 or higher is required to work |
| 209 | !ENDIF |
| 210 | |
| 211 | vim-da.UTF-8.1 : vim-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 | vimdiff-da.UTF-8.1 : vimdiff-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 | vimtutor-da.UTF-8.1 : vimtutor-da.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 | vim-de.UTF-8.1 : vim-de.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 | evim-fr.UTF-8.1 : evim-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 | vim-fr.UTF-8.1 : vim-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 | vimdiff-fr.UTF-8.1 : vimdiff-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 | vimtutor-fr.UTF-8.1 : vimtutor-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 | xxd-fr.UTF-8.1 : xxd-fr.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 | evim-it.UTF-8.1 : evim-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 | vim-it.UTF-8.1 : vim-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 | vimdiff-it.UTF-8.1 : vimdiff-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 | vimtutor-it.UTF-8.1 : vimtutor-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 | xxd-it.UTF-8.1 : xxd-it.1 |
| 342 | !IF DEFINED (ICONV) |
| 343 | $(ICONV) -f ISO-8859-1 -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(28591)) ^| \ |
| 348 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 349 | !ENDIF |
| 350 | |
| 351 | evim-pl.UTF-8.1 : evim-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 | vim-pl.UTF-8.1 : vim-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 | vimdiff-pl.UTF-8.1 : vimdiff-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 | vimtutor-pl.UTF-8.1 : vimtutor-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 | xxd-pl.UTF-8.1 : xxd-pl.1 |
| 392 | !IF DEFINED (ICONV) |
| 393 | $(ICONV) -f ISO-8859-2 -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(28592)) ^| \ |
| 398 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 399 | !ENDIF |
| 400 | |
| 401 | evim-ru.UTF-8.1 : evim-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 | vim-ru.UTF-8.1 : vim-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 | vimdiff-ru.UTF-8.1 : vimdiff-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 | vimtutor-ru.UTF-8.1 : vimtutor-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 | xxd-ru.UTF-8.1 : xxd-ru.1 |
| 442 | !IF DEFINED (ICONV) |
| 443 | $(ICONV) -f KOI8-R -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(20866)) ^| \ |
| 448 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 449 | !ENDIF |
| 450 | |
| 451 | evim-tr.UTF-8.1 : evim-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 | vim-tr.UTF-8.1 : vim-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 | vimdiff-tr.UTF-8.1 : vimdiff-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 | |
| 481 | vimtutor-tr.UTF-8.1 : vimtutor-tr.1 |
| 482 | !IF DEFINED (ICONV) |
| 483 | $(ICONV) -f ISO-8859-9 -t UTF-8 $? >$@ |
| 484 | !ELSE |
| 485 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 486 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 487 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28599)) ^| \ |
| 488 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 489 | !ENDIF |
| 490 | |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 491 | # vim: set noet sw=8 ts=8 sts=0 wm=0 tw=0 ft=make: |