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 | |
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. |
mikoto2000 | 166f89e | 2024-09-26 15:52:22 +0200 | [diff] [blame] | 15 | VIMPROG = D:\Programs\Vim\vim91\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\", \"\"}) \ |
| 57 | ^| New-Item -Path . -Force -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) |
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 | |
| 68 | |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 69 | uganda.nsis.txt : uganda.??? |
Restorer | 74a2331 | 2024-03-28 09:19:44 +0000 | [diff] [blame] | 70 | ! $(PS) $(PSFLAGS) (Get-Content $? -Encoding UTF8 \ |
| 71 | ^| %%{$$_ -replace '[\t\s]*\*.*\*', '' -replace 'vim:tw=\d\d:.*', ''}) \ |
| 72 | ^| Set-Content \"$(@B)$$((Get-Item $?).Extension)\" -Encoding Unicode |
| 73 | ! $(PS) $(PSFLAGS)\ |
| 74 | (Get-Content $(@B)$$((Get-Item $?).Extension) -Raw).Trim() -replace '(\r\n){3,}', '$$1$$1' \ |
| 75 | ^| Set-Content \"$(@B)$$((Get-Item $?).Extension)\" -Encoding Unicode |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 76 | |
| 77 | # TODO: |
| 78 | #html: noerrors tags $(HTMLS) |
| 79 | # if exist errors.log (more errors.log) |
| 80 | |
| 81 | # TODO: |
| 82 | #noerrors: |
| 83 | # $(RM) errors.log |
| 84 | |
| 85 | # TODO: |
| 86 | #.txt.html: |
| 87 | |
| 88 | |
| 89 | # TODO: |
| 90 | #index.html: help.txt |
| 91 | |
| 92 | |
| 93 | # TODO: |
| 94 | #vimindex.html: index.txt |
| 95 | |
| 96 | |
| 97 | # TODO: |
| 98 | #tags.ref tags.html: tags |
| 99 | |
| 100 | # Perl version of .txt to .html conversion. |
| 101 | # There can't be two rules to produce a .html from a .txt file. |
| 102 | # Just run over all .txt files each time one changes. It's fast anyway. |
| 103 | perlhtml : tags $(DOCS) |
| 104 | vim2html.pl tags $(DOCS) |
| 105 | |
| 106 | # Check URLs in the help with "curl" or "powershell". |
| 107 | test_urls : |
RestorerZ | cd33faf | 2024-07-04 17:47:16 +0200 | [diff] [blame] | 108 | "$(VIMPROG)" --clean -S test_urls.vim |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 109 | |
| 110 | clean : |
| 111 | $(RM) doctags.exe doctags.obj |
| 112 | $(RM) *.html vim-stylesheet.css |
| 113 | |
| 114 | |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 115 | arabic.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 116 | <<touch.bat $@ |
| 117 | @$(TOUCH) |
| 118 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 119 | |
| 120 | farsi.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 121 | <<touch.bat $@ |
| 122 | @$(TOUCH) |
| 123 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 124 | |
| 125 | hebrew.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 126 | <<touch.bat $@ |
| 127 | @$(TOUCH) |
| 128 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 129 | |
| 130 | russian.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 131 | <<touch.bat $@ |
| 132 | @$(TOUCH) |
| 133 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 134 | |
| 135 | gui_w32.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 136 | <<touch.bat $@ |
| 137 | @$(TOUCH) |
| 138 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 139 | |
| 140 | if_ole.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 141 | <<touch.bat $@ |
| 142 | @$(TOUCH) |
| 143 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 144 | |
| 145 | os_390.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 146 | <<touch.bat $@ |
| 147 | @$(TOUCH) |
| 148 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 149 | |
| 150 | os_amiga.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 151 | <<touch.bat $@ |
| 152 | @$(TOUCH) |
| 153 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 154 | |
| 155 | os_beos.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 156 | <<touch.bat $@ |
| 157 | @$(TOUCH) |
| 158 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 159 | |
| 160 | os_dos.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 161 | <<touch.bat $@ |
| 162 | @$(TOUCH) |
| 163 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 164 | |
| 165 | os_haiku.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 166 | <<touch.bat $@ |
| 167 | @$(TOUCH) |
| 168 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 169 | |
| 170 | os_mac.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 171 | <<touch.bat $@ |
| 172 | @$(TOUCH) |
| 173 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 174 | |
| 175 | os_mint.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 176 | <<touch.bat $@ |
| 177 | @$(TOUCH) |
| 178 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 179 | |
| 180 | os_msdos.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 181 | <<touch.bat $@ |
| 182 | @$(TOUCH) |
| 183 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 184 | |
| 185 | os_os2.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 186 | <<touch.bat $@ |
| 187 | @$(TOUCH) |
| 188 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 189 | |
| 190 | os_qnx.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 191 | <<touch.bat $@ |
| 192 | @$(TOUCH) |
| 193 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 194 | |
| 195 | os_risc.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 196 | <<touch.bat $@ |
| 197 | @$(TOUCH) |
| 198 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 199 | |
| 200 | os_win32.txt : |
Restorer | 8c14e79 | 2023-11-25 14:39:51 +0000 | [diff] [blame] | 201 | <<touch.bat $@ |
| 202 | @$(TOUCH) |
| 203 | << |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 204 | |
| 205 | convert-all : $(CONVERTED) |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 206 | !IF [$(PS) $(PSFLAGS) "exit $$psversiontable.psversion.major"] == 2 |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 207 | !ERROR The program "PowerShell" version 3.0 or higher is required to work |
| 208 | !ENDIF |
| 209 | |
| 210 | vim-da.UTF-8.1 : vim-da.1 |
| 211 | !IF DEFINED (ICONV) |
| 212 | $(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@ |
| 213 | !ELSE |
| 214 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 215 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 216 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \ |
| 217 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 218 | !ENDIF |
| 219 | |
| 220 | vimdiff-da.UTF-8.1 : vimdiff-da.1 |
| 221 | !IF DEFINED (ICONV) |
| 222 | $(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@ |
| 223 | !ELSE |
| 224 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 225 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 226 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \ |
| 227 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 228 | !ENDIF |
| 229 | |
| 230 | vimtutor-da.UTF-8.1 : vimtutor-da.1 |
| 231 | !IF DEFINED (ICONV) |
| 232 | $(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@ |
| 233 | !ELSE |
| 234 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 235 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 236 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \ |
| 237 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 238 | !ENDIF |
| 239 | |
| 240 | vim-de.UTF-8.1 : vim-de.1 |
| 241 | !IF DEFINED (ICONV) |
| 242 | $(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@ |
| 243 | !ELSE |
| 244 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 245 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 246 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \ |
| 247 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 248 | !ENDIF |
| 249 | |
| 250 | evim-fr.UTF-8.1 : evim-fr.1 |
| 251 | !IF DEFINED (ICONV) |
| 252 | $(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@ |
| 253 | !ELSE |
| 254 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 255 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 256 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \ |
| 257 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 258 | !ENDIF |
| 259 | |
| 260 | vim-fr.UTF-8.1 : vim-fr.1 |
| 261 | !IF DEFINED (ICONV) |
| 262 | $(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@ |
| 263 | !ELSE |
| 264 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 265 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 266 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \ |
| 267 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 268 | !ENDIF |
| 269 | |
| 270 | vimdiff-fr.UTF-8.1 : vimdiff-fr.1 |
| 271 | !IF DEFINED (ICONV) |
| 272 | $(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@ |
| 273 | !ELSE |
| 274 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 275 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 276 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \ |
| 277 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 278 | !ENDIF |
| 279 | |
| 280 | vimtutor-fr.UTF-8.1 : vimtutor-fr.1 |
| 281 | !IF DEFINED (ICONV) |
| 282 | $(ICONV) -f ISO-8859-1 -t utf-8 $? >$@ |
| 283 | !ELSE |
| 284 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 285 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 286 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \ |
| 287 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 288 | !ENDIF |
| 289 | |
| 290 | xxd-fr.UTF-8.1 : xxd-fr.1 |
| 291 | !IF DEFINED (ICONV) |
| 292 | $(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@ |
| 293 | !ELSE |
| 294 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 295 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 296 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \ |
| 297 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 298 | !ENDIF |
| 299 | |
| 300 | evim-it.UTF-8.1 : evim-it.1 |
| 301 | !IF DEFINED (ICONV) |
| 302 | $(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@ |
| 303 | !ELSE |
| 304 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 305 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 306 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \ |
| 307 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 308 | !ENDIF |
| 309 | |
| 310 | vim-it.UTF-8.1 : vim-it.1 |
| 311 | !IF DEFINED (ICONV) |
| 312 | $(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@ |
| 313 | !ELSE |
| 314 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 315 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 316 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \ |
| 317 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 318 | !ENDIF |
| 319 | |
| 320 | vimdiff-it.UTF-8.1 : vimdiff-it.1 |
| 321 | !IF DEFINED (ICONV) |
| 322 | $(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@ |
| 323 | !ELSE |
| 324 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 325 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 326 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \ |
| 327 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 328 | !ENDIF |
| 329 | |
| 330 | vimtutor-it.UTF-8.1 : vimtutor-it.1 |
| 331 | !IF DEFINED (ICONV) |
| 332 | $(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@ |
| 333 | !ELSE |
| 334 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 335 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 336 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \ |
| 337 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 338 | !ENDIF |
| 339 | |
| 340 | xxd-it.UTF-8.1 : xxd-it.1 |
| 341 | !IF DEFINED (ICONV) |
| 342 | $(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@ |
| 343 | !ELSE |
| 344 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 345 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 346 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \ |
| 347 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 348 | !ENDIF |
| 349 | |
| 350 | evim-pl.UTF-8.1 : evim-pl.1 |
| 351 | !IF DEFINED (ICONV) |
| 352 | $(ICONV) -f ISO-8859-2 -t UTF-8 $? >$@ |
| 353 | !ELSE |
| 354 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 355 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 356 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28592)) ^| \ |
| 357 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 358 | !ENDIF |
| 359 | |
| 360 | vim-pl.UTF-8.1 : vim-pl.1 |
| 361 | !IF DEFINED (ICONV) |
| 362 | $(ICONV) -f ISO-8859-2 -t UTF-8 $? >$@ |
| 363 | !ELSE |
| 364 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 365 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 366 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28592)) ^| \ |
| 367 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 368 | !ENDIF |
| 369 | |
| 370 | vimdiff-pl.UTF-8.1 : vimdiff-pl.1 |
| 371 | !IF DEFINED (ICONV) |
| 372 | $(ICONV) -f ISO-8859-2 -t UTF-8 $? >$@ |
| 373 | !ELSE |
| 374 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 375 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 376 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28592)) ^| \ |
| 377 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 378 | !ENDIF |
| 379 | |
| 380 | vimtutor-pl.UTF-8.1 : vimtutor-pl.1 |
| 381 | !IF DEFINED (ICONV) |
| 382 | $(ICONV) -f ISO-8859-2 -t UTF-8 $? >$@ |
| 383 | !ELSE |
| 384 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 385 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 386 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28592)) ^| \ |
| 387 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 388 | !ENDIF |
| 389 | |
| 390 | xxd-pl.UTF-8.1 : xxd-pl.1 |
| 391 | !IF DEFINED (ICONV) |
| 392 | $(ICONV) -f ISO-8859-2 -t UTF-8 $? >$@ |
| 393 | !ELSE |
| 394 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 395 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 396 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28592)) ^| \ |
| 397 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 398 | !ENDIF |
| 399 | |
| 400 | evim-ru.UTF-8.1 : evim-ru.1 |
| 401 | !IF DEFINED (ICONV) |
| 402 | $(ICONV) -f KOI8-R -t UTF-8 $? >$@ |
| 403 | !ELSE |
| 404 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 405 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 406 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(20866)) ^| \ |
| 407 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 408 | !ENDIF |
| 409 | |
| 410 | vim-ru.UTF-8.1 : vim-ru.1 |
| 411 | !IF DEFINED (ICONV) |
| 412 | $(ICONV) -f KOI8-R -t UTF-8 $? >$@ |
| 413 | !ELSE |
| 414 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 415 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 416 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(20866)) ^| \ |
| 417 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 418 | !ENDIF |
| 419 | |
| 420 | vimdiff-ru.UTF-8.1 : vimdiff-ru.1 |
| 421 | !IF DEFINED (ICONV) |
| 422 | $(ICONV) -f KOI8-R -t UTF-8 $? >$@ |
| 423 | !ELSE |
| 424 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 425 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 426 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(20866)) ^| \ |
| 427 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 428 | !ENDIF |
| 429 | |
| 430 | vimtutor-ru.UTF-8.1 : vimtutor-ru.1 |
| 431 | !IF DEFINED (ICONV) |
| 432 | $(ICONV) -f KOI8-R -t UTF-8 $? >$@ |
| 433 | !ELSE |
| 434 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 435 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 436 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(20866)) ^| \ |
| 437 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 438 | !ENDIF |
| 439 | |
| 440 | xxd-ru.UTF-8.1 : xxd-ru.1 |
| 441 | !IF DEFINED (ICONV) |
| 442 | $(ICONV) -f KOI8-R -t UTF-8 $? >$@ |
| 443 | !ELSE |
| 444 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 445 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 446 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(20866)) ^| \ |
| 447 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 448 | !ENDIF |
| 449 | |
| 450 | evim-tr.UTF-8.1 : evim-tr.1 |
| 451 | !IF DEFINED (ICONV) |
| 452 | $(ICONV) -f ISO-8859-9 -t UTF-8 $? >$@ |
| 453 | !ELSE |
| 454 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 455 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 456 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28599)) ^| \ |
| 457 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 458 | !ENDIF |
| 459 | |
| 460 | vim-tr.UTF-8.1 : vim-tr.1 |
| 461 | !IF DEFINED (ICONV) |
| 462 | $(ICONV) -f ISO-8859-9 -t UTF-8 $? >$@ |
| 463 | !ELSE |
| 464 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 465 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 466 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28599)) ^| \ |
| 467 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 468 | !ENDIF |
| 469 | |
| 470 | vimdiff-tr.UTF-8.1 : vimdiff-tr.1 |
| 471 | !IF DEFINED (ICONV) |
| 472 | $(ICONV) -f ISO-8859-9 -t UTF-8 $? >$@ |
| 473 | !ELSE |
| 474 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 475 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 476 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28599)) ^| \ |
| 477 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 478 | !ENDIF |
| 479 | |
| 480 | vimtutor-tr.UTF-8.1 : vimtutor-tr.1 |
| 481 | !IF DEFINED (ICONV) |
| 482 | $(ICONV) -f ISO-8859-9 -t UTF-8 $? >$@ |
| 483 | !ELSE |
| 484 | # Conversion to UTF-8 encoding without BOM and with UNIX-like line ending |
Restorer | 459867b | 2024-01-22 22:42:44 +0300 | [diff] [blame] | 485 | $(PS) $(PSFLAGS) \ |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 486 | [IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28599)) ^| \ |
| 487 | 1>nul New-Item -Force -Path . -ItemType file -Name $@ |
| 488 | !ENDIF |
| 489 | |
Restorer | 424da59 | 2023-11-11 18:26:00 +0000 | [diff] [blame] | 490 | # vim: set noet sw=8 ts=8 sts=0 wm=0 tw=0 ft=make: |