mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 9.1.1675: MS-Windows: Makefiles can be refactored
Problem: MS-Windows: Makefiles can be refactored Solution: Refactor using a common tools.mak, make some style changes (RestorerZ). closes: #18060 Signed-off-by: RestorerZ <restorer@mail2k.ru> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
d5a6310108
commit
e34bdb844f
@@ -1,16 +1,20 @@
|
||||
#
|
||||
# Makefile for the Vim documentation on Windows
|
||||
#
|
||||
# 20.03.24, Restorer, <restorer@mail2k.ru>
|
||||
# 2024-03-20, Restorer, <restorer@mail2k.ru>
|
||||
#
|
||||
|
||||
# included common tools
|
||||
!INCLUDE ..\..\src\auto\nmake\tools.mak
|
||||
|
||||
# Common components
|
||||
!INCLUDE Make_all.mak
|
||||
!INCLUDE .\Make_all.mak
|
||||
|
||||
|
||||
# TODO: to think about what to use instead of awk. PowerShell?
|
||||
#AWK =
|
||||
|
||||
# Correct the following line for the where executable file vim is installed.
|
||||
# Correct the following line for the where executable file Vim is installed.
|
||||
# Please do not put the path in quotes.
|
||||
VIMPROG = ..\..\src\vim.exe
|
||||
|
||||
@@ -18,16 +22,6 @@ VIMPROG = ..\..\src\vim.exe
|
||||
# Please do not put the path in quotes.
|
||||
ICONV_PATH = D:\Programs\GetText\bin
|
||||
|
||||
# In case some package like GnuWin32, UnixUtils
|
||||
# or something similar is installed on the system.
|
||||
# If the "touch" program is installed on the system, but it is not registered
|
||||
# in the %PATH% environment variable, then specify the full path to this file.
|
||||
!IF EXIST ("touch.exe")
|
||||
TOUCH = touch.exe %1
|
||||
!ELSE
|
||||
TOUCH = if exist %1 ( copy /b %1+,, ) else ( type nul >%1 )
|
||||
!ENDIF
|
||||
|
||||
# In case some package like GnuWin32, UnixUtils, gettext
|
||||
# or something similar is installed on the system.
|
||||
# If the "iconv" program is installed on the system, but it is not registered
|
||||
@@ -38,11 +32,6 @@ ICONV = iconv.exe
|
||||
ICONV = "$(ICONV_PATH)\iconv.exe"
|
||||
!ENDIF
|
||||
|
||||
RM = del /q
|
||||
PS = PowerShell.exe
|
||||
|
||||
PSFLAGS = -NoLogo -NoProfile -Command
|
||||
|
||||
.SUFFIXES :
|
||||
.SUFFIXES : .c .o .txt .html
|
||||
|
||||
@@ -53,7 +42,8 @@ all : tags perlhtml $(CONVERTED)
|
||||
tags : doctags $(DOCS)
|
||||
doctags.exe $(DOCS) | sort /L C /O tags
|
||||
$(PS) $(PSFLAGS) \
|
||||
(Get-Content -Raw tags ^| Get-Unique ^| %%{$$_ -replace \"`r\", \"\"}) \
|
||||
(Get-Content -Raw tags ^| Get-Unique ^| %%{$$_ \
|
||||
-replace \"`r\", \"\"}) \
|
||||
^| New-Item -Path . -Name tags -ItemType file -Force
|
||||
|
||||
doctags : doctags.c
|
||||
@@ -63,7 +53,7 @@ doctags : doctags.c
|
||||
# Use Vim to generate the tags file. Can only be used when Vim has been
|
||||
# compiled and installed. Supports multiple languages.
|
||||
vimtags : $(DOCS)
|
||||
@"$(VIMPROG)" --clean -esX -V1 -u doctags.vim
|
||||
@ "$(VIMPROG)" --clean -esX -V1 -u doctags.vim
|
||||
|
||||
# TODO:
|
||||
#html: noerrors tags $(HTMLS)
|
||||
@@ -104,99 +94,96 @@ clean :
|
||||
|
||||
|
||||
arabic.txt :
|
||||
<<touch.bat $@
|
||||
@ <<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
farsi.txt :
|
||||
<<touch.bat $@
|
||||
@ <<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
hebrew.txt :
|
||||
<<touch.bat $@
|
||||
@ <<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
russian.txt :
|
||||
<<touch.bat $@
|
||||
@ <<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
gui_w32.txt :
|
||||
<<touch.bat $@
|
||||
@ <<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
if_ole.txt :
|
||||
<<touch.bat $@
|
||||
@ <<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
os_390.txt :
|
||||
<<touch.bat $@
|
||||
@ <<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
os_amiga.txt :
|
||||
<<touch.bat $@
|
||||
@ <<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
os_beos.txt :
|
||||
<<touch.bat $@
|
||||
@ <<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
os_dos.txt :
|
||||
<<touch.bat $@
|
||||
@ <<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
os_haiku.txt :
|
||||
<<touch.bat $@
|
||||
@ <<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
os_mac.txt :
|
||||
<<touch.bat $@
|
||||
@ <<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
os_mint.txt :
|
||||
<<touch.bat $@
|
||||
@ <<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
os_msdos.txt :
|
||||
<<touch.bat $@
|
||||
@ <<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
os_os2.txt :
|
||||
<<touch.bat $@
|
||||
@ <<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
os_qnx.txt :
|
||||
<<touch.bat $@
|
||||
@ <<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
os_risc.txt :
|
||||
<<touch.bat $@
|
||||
@ <<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
os_win32.txt :
|
||||
<<touch.bat $@
|
||||
@ <<touch.bat $@
|
||||
@$(TOUCH)
|
||||
<<
|
||||
|
||||
convert-all : $(CONVERTED)
|
||||
!IF [$(PS) $(PSFLAGS) "exit $$psversiontable.psversion.major"] == 2
|
||||
!ERROR The program "PowerShell" version 3.0 or higher is required to work
|
||||
!ENDIF
|
||||
|
||||
vim-da.UTF-8.1 : vim-da.1
|
||||
!IF DEFINED (ICONV)
|
||||
@@ -204,8 +191,9 @@ vim-da.UTF-8.1 : vim-da.1
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
[IO.File]::ReadAllText(\"$?\", \
|
||||
[Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
!ENDIF
|
||||
|
||||
vimdiff-da.UTF-8.1 : vimdiff-da.1
|
||||
@@ -214,8 +202,9 @@ vimdiff-da.UTF-8.1 : vimdiff-da.1
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
[IO.File]::ReadAllText(\"$?\", \
|
||||
[Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
!ENDIF
|
||||
|
||||
vimtutor-da.UTF-8.1 : vimtutor-da.1
|
||||
@@ -224,8 +213,9 @@ vimtutor-da.UTF-8.1 : vimtutor-da.1
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
[IO.File]::ReadAllText(\"$?\", \
|
||||
[Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
!ENDIF
|
||||
|
||||
vim-de.UTF-8.1 : vim-de.1
|
||||
@@ -234,8 +224,9 @@ vim-de.UTF-8.1 : vim-de.1
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
[IO.File]::ReadAllText(\"$?\", \
|
||||
[Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
!ENDIF
|
||||
|
||||
evim-fr.UTF-8.1 : evim-fr.1
|
||||
@@ -244,8 +235,9 @@ evim-fr.UTF-8.1 : evim-fr.1
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
[IO.File]::ReadAllText(\"$?\", \
|
||||
[Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
!ENDIF
|
||||
|
||||
vim-fr.UTF-8.1 : vim-fr.1
|
||||
@@ -254,8 +246,9 @@ vim-fr.UTF-8.1 : vim-fr.1
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
[IO.File]::ReadAllText(\"$?\", \
|
||||
[Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
!ENDIF
|
||||
|
||||
vimdiff-fr.UTF-8.1 : vimdiff-fr.1
|
||||
@@ -264,8 +257,9 @@ vimdiff-fr.UTF-8.1 : vimdiff-fr.1
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
[IO.File]::ReadAllText(\"$?\", \
|
||||
[Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
!ENDIF
|
||||
|
||||
vimtutor-fr.UTF-8.1 : vimtutor-fr.1
|
||||
@@ -274,8 +268,9 @@ vimtutor-fr.UTF-8.1 : vimtutor-fr.1
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
[IO.File]::ReadAllText(\"$?\", \
|
||||
[Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
!ENDIF
|
||||
|
||||
xxd-fr.UTF-8.1 : xxd-fr.1
|
||||
@@ -284,8 +279,9 @@ xxd-fr.UTF-8.1 : xxd-fr.1
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
[IO.File]::ReadAllText(\"$?\", \
|
||||
[Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
!ENDIF
|
||||
|
||||
evim-it.UTF-8.1 : evim-it.1
|
||||
@@ -294,8 +290,9 @@ evim-it.UTF-8.1 : evim-it.1
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
[IO.File]::ReadAllText(\"$?\", \
|
||||
[Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
!ENDIF
|
||||
|
||||
vim-it.UTF-8.1 : vim-it.1
|
||||
@@ -304,8 +301,9 @@ vim-it.UTF-8.1 : vim-it.1
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
[IO.File]::ReadAllText(\"$?\", \
|
||||
[Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
!ENDIF
|
||||
|
||||
vimdiff-it.UTF-8.1 : vimdiff-it.1
|
||||
@@ -314,8 +312,9 @@ vimdiff-it.UTF-8.1 : vimdiff-it.1
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
[IO.File]::ReadAllText(\"$?\", \
|
||||
[Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
!ENDIF
|
||||
|
||||
vimtutor-it.UTF-8.1 : vimtutor-it.1
|
||||
@@ -324,8 +323,9 @@ vimtutor-it.UTF-8.1 : vimtutor-it.1
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
[IO.File]::ReadAllText(\"$?\", \
|
||||
[Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
!ENDIF
|
||||
|
||||
xxd-it.UTF-8.1 : xxd-it.1
|
||||
@@ -334,8 +334,9 @@ xxd-it.UTF-8.1 : xxd-it.1
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
[IO.File]::ReadAllText(\"$?\", \
|
||||
[Text.Encoding]::GetEncoding(28591)) ^| \
|
||||
1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
!ENDIF
|
||||
|
||||
evim-pl.UTF-8.1 : evim-pl.1
|
||||
@@ -344,8 +345,9 @@ evim-pl.UTF-8.1 : evim-pl.1
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28592)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
[IO.File]::ReadAllText(\"$?\", \
|
||||
[Text.Encoding]::GetEncoding(28592)) ^| \
|
||||
1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
!ENDIF
|
||||
|
||||
vim-pl.UTF-8.1 : vim-pl.1
|
||||
@@ -354,8 +356,9 @@ vim-pl.UTF-8.1 : vim-pl.1
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28592)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
[IO.File]::ReadAllText(\"$?\", \
|
||||
[Text.Encoding]::GetEncoding(28592)) ^| \
|
||||
1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
!ENDIF
|
||||
|
||||
vimdiff-pl.UTF-8.1 : vimdiff-pl.1
|
||||
@@ -364,8 +367,9 @@ vimdiff-pl.UTF-8.1 : vimdiff-pl.1
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28592)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
[IO.File]::ReadAllText(\"$?\", \
|
||||
[Text.Encoding]::GetEncoding(28592)) ^| \
|
||||
1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
!ENDIF
|
||||
|
||||
vimtutor-pl.UTF-8.1 : vimtutor-pl.1
|
||||
@@ -374,8 +378,9 @@ vimtutor-pl.UTF-8.1 : vimtutor-pl.1
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28592)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
[IO.File]::ReadAllText(\"$?\", \
|
||||
[Text.Encoding]::GetEncoding(28592)) ^| \
|
||||
1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
!ENDIF
|
||||
|
||||
xxd-pl.UTF-8.1 : xxd-pl.1
|
||||
@@ -384,8 +389,9 @@ xxd-pl.UTF-8.1 : xxd-pl.1
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28592)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
[IO.File]::ReadAllText(\"$?\", \
|
||||
[Text.Encoding]::GetEncoding(28592)) ^| \
|
||||
1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
!ENDIF
|
||||
|
||||
evim-ru.UTF-8.1 : evim-ru.1
|
||||
@@ -394,8 +400,9 @@ evim-ru.UTF-8.1 : evim-ru.1
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(20866)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
[IO.File]::ReadAllText(\"$?\", \
|
||||
[Text.Encoding]::GetEncoding(20866)) ^| \
|
||||
1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
!ENDIF
|
||||
|
||||
vim-ru.UTF-8.1 : vim-ru.1
|
||||
@@ -404,8 +411,9 @@ vim-ru.UTF-8.1 : vim-ru.1
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(20866)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
[IO.File]::ReadAllText(\"$?\", \
|
||||
[Text.Encoding]::GetEncoding(20866)) ^| \
|
||||
1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
!ENDIF
|
||||
|
||||
vimdiff-ru.UTF-8.1 : vimdiff-ru.1
|
||||
@@ -414,8 +422,9 @@ vimdiff-ru.UTF-8.1 : vimdiff-ru.1
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(20866)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
[IO.File]::ReadAllText(\"$?\", \
|
||||
[Text.Encoding]::GetEncoding(20866)) ^| \
|
||||
1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
!ENDIF
|
||||
|
||||
vimtutor-ru.UTF-8.1 : vimtutor-ru.1
|
||||
@@ -424,8 +433,9 @@ vimtutor-ru.UTF-8.1 : vimtutor-ru.1
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(20866)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
[IO.File]::ReadAllText(\"$?\", \
|
||||
[Text.Encoding]::GetEncoding(20866)) ^| \
|
||||
1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
!ENDIF
|
||||
|
||||
xxd-ru.UTF-8.1 : xxd-ru.1
|
||||
@@ -434,8 +444,9 @@ xxd-ru.UTF-8.1 : xxd-ru.1
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(20866)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
[IO.File]::ReadAllText(\"$?\", \
|
||||
[Text.Encoding]::GetEncoding(20866)) ^| \
|
||||
1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
!ENDIF
|
||||
|
||||
evim-tr.UTF-8.1 : evim-tr.1
|
||||
@@ -444,8 +455,9 @@ evim-tr.UTF-8.1 : evim-tr.1
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28599)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
[IO.File]::ReadAllText(\"$?\", \
|
||||
[Text.Encoding]::GetEncoding(28599)) ^| \
|
||||
1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
!ENDIF
|
||||
|
||||
vim-tr.UTF-8.1 : vim-tr.1
|
||||
@@ -454,8 +466,9 @@ vim-tr.UTF-8.1 : vim-tr.1
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28599)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
[IO.File]::ReadAllText(\"$?\", \
|
||||
[Text.Encoding]::GetEncoding(28599)) ^| \
|
||||
1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
!ENDIF
|
||||
|
||||
vimdiff-tr.UTF-8.1 : vimdiff-tr.1
|
||||
@@ -464,8 +477,9 @@ vimdiff-tr.UTF-8.1 : vimdiff-tr.1
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28599)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
[IO.File]::ReadAllText(\"$?\", \
|
||||
[Text.Encoding]::GetEncoding(28599)) ^| \
|
||||
1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
!ENDIF
|
||||
|
||||
vimtutor-tr.UTF-8.1 : vimtutor-tr.1
|
||||
@@ -474,8 +488,9 @@ vimtutor-tr.UTF-8.1 : vimtutor-tr.1
|
||||
!ELSE
|
||||
# Conversion to UTF-8 encoding without BOM and with UNIX-like line ending
|
||||
$(PS) $(PSFLAGS) \
|
||||
[IO.File]::ReadAllText(\"$?\", [Text.Encoding]::GetEncoding(28599)) ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
[IO.File]::ReadAllText(\"$?\", \
|
||||
[Text.Encoding]::GetEncoding(28599)) ^| \
|
||||
1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
!ENDIF
|
||||
|
||||
# vim: set noet sw=8 ts=8 sts=0 wm=0 tw=0 ft=make:
|
||||
# vim: set noet sw=8 ts=8 sts=0 wm=0 tw=79 ft=make:
|
||||
|
@@ -1,10 +1,17 @@
|
||||
#
|
||||
# Makefile for running indent tests on OS Windows.
|
||||
# Made on the base of a indent/Makefile.
|
||||
# Restorer, 13.03.2024
|
||||
# 2024-03-13, Restorer
|
||||
#
|
||||
|
||||
# included common tools
|
||||
!INCLUDE ..\..\src\auto\nmake\tools.mak
|
||||
|
||||
LSFLAGS = /A:-D /B /O:N /L /S
|
||||
|
||||
.SUFFIXES:
|
||||
|
||||
VIMPROG = vim.exe
|
||||
VIMPROG = ..\..\src\vim.exe
|
||||
VIMRUNTIME = ..
|
||||
|
||||
# Run the tests that didn't run yet or failed previously.
|
||||
@@ -12,10 +19,22 @@ VIMRUNTIME = ..
|
||||
# If a test fails a testdir\*.fail file will be written.
|
||||
test :
|
||||
@ set "VIMRUNTIME=$(VIMRUNTIME)"
|
||||
$(VIMPROG) --clean --not-a-term -u testdir\runtest.vim
|
||||
|
||||
@ $(VIMPROG) --clean --not-a-term -u testdir\runtest.vim && \
|
||||
(echo:&echo: INDENT TESTS: DONE &echo:) || \
|
||||
<<echofail.bat
|
||||
set "retval=%ERRORLEVEL%"
|
||||
@echo off
|
||||
echo:&echo: INDENT TESTS: FAILED
|
||||
for /F %%G in ('2^> nul $(LS) $(LSFLAGS) testdir\*.fail') do (
|
||||
call set "fail=%%fail%% %%G")
|
||||
if defined fail (
|
||||
for %%G in (%fail%) do @(echo:&echo: %%~nxG:&echo: && type %%G)
|
||||
)
|
||||
exit /B %retval%
|
||||
<<
|
||||
|
||||
clean testclean :
|
||||
@ if exist testdir\*.fail del /q testdir\*.fail
|
||||
@ if exist testdir\*.out del /q testdir\*.out
|
||||
@ if exist testdir\*.fail $(RM) testdir\*.fail
|
||||
@ if exist testdir\*.out $(RM) testdir\*.out
|
||||
|
||||
# vim: set noet sw=8 ts=8 sts=0 wm=0 tw=79 ft=make:
|
||||
|
@@ -1,14 +1,14 @@
|
||||
#
|
||||
# Makefile for converted the Vim menu files on Windows
|
||||
#
|
||||
# 08.11.23, Restorer, <restorer@mail2k.ru>
|
||||
# 2023-11-08, Restorer, <restorer@mail2k.ru>
|
||||
#
|
||||
|
||||
!IF [powershell -nologo -noprofile "exit $$psversiontable.psversion.major"] == 2
|
||||
!ERROR The program "PowerShell" version 3.0 or higher is required to work
|
||||
!ENDIF
|
||||
# included common tools
|
||||
!INCLUDE ..\..\src\auto\nmake\tools.mak
|
||||
|
||||
# Common components
|
||||
!INCLUDE Make_all.mak
|
||||
!INCLUDE .\Make_all.mak
|
||||
|
||||
# Correct the following line for the directory where iconv is installed.
|
||||
# Please do not put the path in quotes.
|
||||
@@ -24,17 +24,11 @@ ICONV = "iconv.exe"
|
||||
ICONV = "$(ICONV_PATH)\iconv.exe"
|
||||
!ENDIF
|
||||
|
||||
RM = del /q
|
||||
PS = PowerShell.exe
|
||||
|
||||
PSFLAGS = -NoLogo -NoProfile -Command
|
||||
|
||||
|
||||
all : $(CONVERTED)
|
||||
|
||||
# Convert menu_zh_cn.utf-8.vim to create menu_chinese_gb.936.vim.
|
||||
# Convert menu_zh_cn.utf-8.vim to menu_chinese_gb.936.vim.
|
||||
menu_chinese_gb.936.vim : menu_zh_cn.utf-8.vim
|
||||
-$(RM) $@
|
||||
- $(RM) $@
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f UTF-8 -t CP936 $? >$@
|
||||
!ELSE
|
||||
@@ -46,13 +40,13 @@ menu_chinese_gb.936.vim : menu_zh_cn.utf-8.vim
|
||||
$(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
|
||||
[System.Text.Encoding]::GetEncoding(936)) -replace \
|
||||
'scriptencoding utf-8', 'scriptencoding cp936' -replace \
|
||||
' Original translations', ' Generated from $?, DO NOT EDIT'; \
|
||||
'Original translations', 'Generated from $?, DO NOT EDIT'; \
|
||||
[System.IO.File]::WriteAllText(\"$@\", $$out, \
|
||||
[System.Text.Encoding]::GetEncoding(936))
|
||||
|
||||
# Convert menu_zh_tw.utf-8.vim to create menu_chinese_taiwan.950.vim.
|
||||
# Convert menu_zh_tw.utf-8.vim to menu_chinese_taiwan.950.vim.
|
||||
menu_chinese_taiwan.950.vim : menu_zh_tw.utf-8.vim
|
||||
-$(RM) $@
|
||||
- $(RM) $@
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f UTF-8 -t CP950 $? >$@
|
||||
!ELSE
|
||||
@@ -64,13 +58,13 @@ menu_chinese_taiwan.950.vim : menu_zh_tw.utf-8.vim
|
||||
$(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
|
||||
[System.Text.Encoding]::GetEncoding(950)) -replace \
|
||||
'scriptencoding utf-8', 'scriptencoding cp950' -replace \
|
||||
' Original translations', ' Generated from $?, DO NOT EDIT'; \
|
||||
'Original translations', 'Generated from $?, DO NOT EDIT'; \
|
||||
[System.IO.File]::WriteAllText(\"$@\", $$out, \
|
||||
[System.Text.Encoding]::GetEncoding(950))
|
||||
|
||||
# Convert menu_cs_cz.utf-8.vim to create menu_cs_cz.iso_8859-2.vim.
|
||||
# Convert menu_cs_cz.utf-8.vim to menu_cs_cz.iso_8859-2.vim.
|
||||
menu_cs_cz.iso_8859-2.vim : menu_cs_cz.utf-8.vim
|
||||
-$(RM) $@
|
||||
- $(RM) $@
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f UTF-8 -t ISO-8859-2 $? >$@
|
||||
!ELSE
|
||||
@@ -81,15 +75,15 @@ menu_cs_cz.iso_8859-2.vim : menu_cs_cz.utf-8.vim
|
||||
!ENDIF
|
||||
$(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
|
||||
[System.Text.Encoding]::GetEncoding(28592)) -replace \
|
||||
' Czech \(UTF-8\)', ' Czech (ISO-8859-2)' -replace \
|
||||
\"scriptencoding utf-8\", \"scriptencoding iso-8859-2\" -replace \
|
||||
\" Original translations\", \" Generated from $?, DO NOT EDIT\"; \
|
||||
'Czech \(UTF-8\)', 'Czech (ISO-8859-2)' -replace \
|
||||
'scriptencoding utf-8', 'scriptencoding iso-8859-2' -replace \
|
||||
'Original translations', 'Generated from $?, DO NOT EDIT'; \
|
||||
[System.IO.File]::WriteAllText(\"$@\", $$out, \
|
||||
[System.Text.Encoding]::GetEncoding(28592))
|
||||
|
||||
# Convert menu_cs_cz.utf-8.vim to create menu_czech_czech_republic.1250.vim.
|
||||
# Convert menu_cs_cz.utf-8.vim to menu_czech_czech_republic.1250.vim.
|
||||
menu_czech_czech_republic.1250.vim : menu_cs_cz.utf-8.vim
|
||||
-$(RM) $@
|
||||
- $(RM) $@
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f UTF-8 -t CP1250 $? >$@
|
||||
!ELSE
|
||||
@@ -100,35 +94,41 @@ menu_czech_czech_republic.1250.vim : menu_cs_cz.utf-8.vim
|
||||
!ENDIF
|
||||
$(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
|
||||
[System.Text.Encoding]::GetEncoding(1250)) -replace \
|
||||
' Czech \(UTF-8\)', ' Czech (CP1250)' -replace \
|
||||
\"scriptencoding utf-8\", \"scriptencoding cp1250\" -replace \
|
||||
\" Original translations\", \" Generated from $?, DO NOT EDIT\"; \
|
||||
'Czech \(UTF-8\)', 'Czech (CP1250)' -replace \
|
||||
'scriptencoding utf-8', 'scriptencoding cp1250' -replace \
|
||||
'Original translations', 'Generated from $?, DO NOT EDIT'; \
|
||||
[System.IO.File]::WriteAllText(\"$@\", $$out, \
|
||||
[System.Text.Encoding]::GetEncoding(1250))
|
||||
|
||||
# Convert menu_cs_cz.utf-8.vim to create menu_czech_czech_republic.ascii.vim.
|
||||
# Convert menu_cs_cz.utf-8.vim to menu_czech_czech_republic.ascii.vim.
|
||||
menu_czech_czech_republic.ascii.vim : menu_cs_cz.utf-8.vim
|
||||
-$(RM) $@
|
||||
- $(RM) $@
|
||||
$(PS) $(PSFLAGS) [System.IO.File]::ReadAllText(\"$?\", \
|
||||
[System.Text.Encoding]::GetEncoding(65001)) -replace \
|
||||
'scriptencoding utf-8', 'scriptencoding latin1' -replace \
|
||||
' Original translations', ' Generated from $?, DO NOT EDIT' -replace \
|
||||
'Czech \(UTF-8\)', 'Czech (ASCII - without diacritics)' -creplace \
|
||||
[char]193, 'A' -creplace [char]225, 'a' -creplace [char]268, 'C' -creplace \
|
||||
[char]269, 'c' -creplace [char]270, 'D' -creplace [char]271, 'd' -creplace \
|
||||
[char]201, 'E' -creplace [char]233, 'e' -creplace [char]282, 'E' -creplace \
|
||||
[char]283, 'e' -creplace [char]205, 'I' -creplace [char]237, 'i' -creplace \
|
||||
[char]327, 'N' -creplace [char]328, 'n' -creplace [char]211, 'O' -creplace \
|
||||
[char]243, 'o' -creplace [char]344, 'R' -creplace [char]345, 'r' -creplace \
|
||||
[char]352, 'S' -creplace [char]353, 's' -creplace [char]356, 'T' -creplace \
|
||||
[char]357, 't' -creplace [char]218, 'U' -creplace [char]250, 'u' -creplace \
|
||||
[char]366, 'U' -creplace [char]367, 'u' -creplace [char]221, 'Y' -creplace \
|
||||
[char]253, 'y' -creplace [char]381, 'Z' -creplace [char]382, 'z' ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
'Original translations', 'Generated from $?, DO NOT EDIT' \
|
||||
-replace 'Czech \(UTF-8\)', \
|
||||
'Czech (ASCII - without diacritics)' \
|
||||
-creplace [char]193, 'A' -creplace [char]225, 'a' \
|
||||
-creplace [char]268, 'C' -creplace [char]269, 'c' \
|
||||
-creplace [char]270, 'D' -creplace [char]271, 'd' \
|
||||
-creplace [char]201, 'E' -creplace [char]233, 'e' \
|
||||
-creplace [char]282, 'E' -creplace [char]283, 'e' \
|
||||
-creplace [char]205, 'I' -creplace [char]237, 'i' \
|
||||
-creplace [char]327, 'N' -creplace [char]328, 'n' \
|
||||
-creplace [char]211, 'O' -creplace [char]243, 'o' \
|
||||
-creplace [char]344, 'R' -creplace [char]345, 'r' \
|
||||
-creplace [char]352, 'S' -creplace [char]353, 's' \
|
||||
-creplace [char]356, 'T' -creplace [char]357, 't' \
|
||||
-creplace [char]218, 'U' -creplace [char]250, 'u' \
|
||||
-creplace [char]366, 'U' -creplace [char]367, 'u' \
|
||||
-creplace [char]221, 'Y' -creplace [char]253, 'y' \
|
||||
-creplace [char]381, 'Z' -creplace [char]382, 'z' \
|
||||
^| 1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
|
||||
# Convert menu_hu_hu.utf-8.vim to create menu_hu_hu.iso_8859-2.vim.
|
||||
# Convert menu_hu_hu.utf-8.vim to menu_hu_hu.iso_8859-2.vim.
|
||||
menu_hu_hu.iso_8859-2.vim : menu_hu_hu.utf-8.vim
|
||||
-$(RM) $@
|
||||
- $(RM) $@
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f UTF-8 -t ISO-8859-2 $? >$@
|
||||
!ELSE
|
||||
@@ -140,13 +140,13 @@ menu_hu_hu.iso_8859-2.vim : menu_hu_hu.utf-8.vim
|
||||
$(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
|
||||
[System.Text.Encoding]::GetEncoding(28592)) -replace \
|
||||
'scriptencoding utf-8', 'scriptencoding iso-8859-2' -replace \
|
||||
' Original translations', ' Generated from $?, DO NOT EDIT'; \
|
||||
'Original translations', 'Generated from $?, DO NOT EDIT'; \
|
||||
[System.IO.File]::WriteAllText(\"$@\", $$out, \
|
||||
[System.Text.Encoding]::GetEncoding(28592))
|
||||
|
||||
# Convert menu_ja_jp.utf-8.vim to create menu_ja_jp.euc-jp.vim.
|
||||
# Convert menu_ja_jp.utf-8.vim to menu_ja_jp.euc-jp.vim.
|
||||
menu_ja_jp.euc-jp.vim : menu_ja_jp.utf-8.vim
|
||||
-$(RM) $@
|
||||
- $(RM) $@
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f UTF-8 -t EUC-JP $? >$@
|
||||
!ELSE
|
||||
@@ -159,13 +159,13 @@ menu_ja_jp.euc-jp.vim : menu_ja_jp.utf-8.vim
|
||||
[System.Text.Encoding]::GetEncoding(51932)) -replace \
|
||||
'Japanese \(UTF-8\)', 'Japanese (EUC-JP)' -replace \
|
||||
'scriptencoding utf-8', 'scriptencoding euc-jp' -replace \
|
||||
' Original translations', ' Generated from $?, DO NOT EDIT'; \
|
||||
'Original translations', 'Generated from $?, DO NOT EDIT'; \
|
||||
[System.IO.File]::WriteAllText(\"$@\", $$out, \
|
||||
[System.Text.Encoding]::GetEncoding(51932))
|
||||
|
||||
# Convert menu_ja_jp.utf-8.vim to create menu_japanese_japan.932.vim.
|
||||
# Convert menu_ja_jp.utf-8.vim to menu_japanese_japan.932.vim.
|
||||
menu_japanese_japan.932.vim : menu_ja_jp.utf-8.vim
|
||||
-$(RM) $@
|
||||
- $(RM) $@
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f UTF-8 -t CP932 $? >$@
|
||||
!ELSE
|
||||
@@ -178,13 +178,13 @@ menu_japanese_japan.932.vim : menu_ja_jp.utf-8.vim
|
||||
[System.Text.Encoding]::GetEncoding(932)) -replace \
|
||||
'Japanese \(UTF-8\)', 'Japanese (CP932)' -replace \
|
||||
'scriptencoding utf-8', 'scriptencoding cp932' -replace \
|
||||
' Original translations', ' Generated from $?, DO NOT EDIT'; \
|
||||
'Original translations', 'Generated from $?, DO NOT EDIT'; \
|
||||
[System.IO.File]::WriteAllText(\"$@\", $$out, \
|
||||
[System.Text.Encoding]::GetEncoding(932))
|
||||
|
||||
# Convert menu_ko_kr.utf-8.vim to create menu_ko_kr.euckr.vim.
|
||||
# Convert menu_ko_kr.utf-8.vim to menu_ko_kr.euckr.vim.
|
||||
menu_ko_kr.euckr.vim : menu_ko_kr.utf-8.vim
|
||||
-$(RM) $@
|
||||
- $(RM) $@
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f UTF-8 -t EUC-KR $? >$@
|
||||
!ELSE
|
||||
@@ -196,13 +196,13 @@ menu_ko_kr.euckr.vim : menu_ko_kr.utf-8.vim
|
||||
$(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
|
||||
[System.Text.Encoding]::GetEncoding(51949)) -replace \
|
||||
'scriptencoding utf-8', 'scriptencoding euc-kr' -replace \
|
||||
' Original translations', ' Generated from $?, DO NOT EDIT'; \
|
||||
'Original translations', 'Generated from $?, DO NOT EDIT'; \
|
||||
[System.IO.File]::WriteAllText(\"$@\", $$out, \
|
||||
[System.Text.Encoding]::GetEncoding(51949))
|
||||
|
||||
# Convert menu_pl_pl.utf-8.vim to create menu_pl_pl.iso_8859-2.vim.
|
||||
# Convert menu_pl_pl.utf-8.vim to menu_pl_pl.iso_8859-2.vim.
|
||||
menu_pl_pl.iso_8859-2.vim : menu_pl_pl.utf-8.vim
|
||||
-$(RM) $@
|
||||
- $(RM) $@
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f UTF-8 -t ISO-8859-2 $? >$@
|
||||
!ELSE
|
||||
@@ -214,13 +214,13 @@ menu_pl_pl.iso_8859-2.vim : menu_pl_pl.utf-8.vim
|
||||
$(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
|
||||
[System.Text.Encoding]::GetEncoding(28592)) -replace \
|
||||
'scriptencoding utf-8', 'scriptencoding iso-8859-2' -replace \
|
||||
' Original translations', ' Generated from $?, DO NOT EDIT'; \
|
||||
'Original translations', 'Generated from $?, DO NOT EDIT'; \
|
||||
[System.IO.File]::WriteAllText(\"$@\", $$out, \
|
||||
[System.Text.Encoding]::GetEncoding(28592))
|
||||
|
||||
# Convert menu_pl_pl.utf-8.vim to create menu_polish_poland.1250.vim.
|
||||
# Convert menu_pl_pl.utf-8.vim to menu_polish_poland.1250.vim.
|
||||
menu_polish_poland.1250.vim : menu_pl_pl.utf-8.vim
|
||||
-$(RM) $@
|
||||
- $(RM) $@
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f UTF-8 -t CP1250 $? >$@
|
||||
!ELSE
|
||||
@@ -232,13 +232,13 @@ menu_polish_poland.1250.vim : menu_pl_pl.utf-8.vim
|
||||
$(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
|
||||
[System.Text.Encoding]::GetEncoding(1250)) -replace \
|
||||
'scriptencoding utf-8', 'scriptencoding cp1250' -replace \
|
||||
' Original translations', ' Generated from $?, DO NOT EDIT'; \
|
||||
'Original translations', 'Generated from $?, DO NOT EDIT'; \
|
||||
[System.IO.File]::WriteAllText(\"$@\", $$out, \
|
||||
[System.Text.Encoding]::GetEncoding(1250))
|
||||
|
||||
# Convert menu_ru_ru.utf-8.vim to create menu_ru_ru.cp1251.vim.
|
||||
# Convert menu_ru_ru.utf-8.vim to menu_ru_ru.cp1251.vim.
|
||||
menu_ru_ru.cp1251.vim : menu_ru_ru.utf-8.vim
|
||||
-$(RM) $@
|
||||
- $(RM) $@
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f UTF-8 -t CP1251 $? >$@
|
||||
!ELSE
|
||||
@@ -250,13 +250,13 @@ menu_ru_ru.cp1251.vim : menu_ru_ru.utf-8.vim
|
||||
$(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
|
||||
[System.Text.Encoding]::GetEncoding(1251)) -replace \
|
||||
'scriptencoding utf-8', 'scriptencoding cp1251' -replace \
|
||||
' Original translations', ' Generated from $?, DO NOT EDIT'; \
|
||||
'Original translations', 'Generated from $?, DO NOT EDIT'; \
|
||||
[System.IO.File]::WriteAllText(\"$@\", $$out, \
|
||||
[System.Text.Encoding]::GetEncoding(1251))
|
||||
|
||||
# Convert menu_ru_ru.utf-8.vim to create menu_ru_ru.koi8-r.vim.
|
||||
# Convert menu_ru_ru.utf-8.vim to menu_ru_ru.koi8-r.vim.
|
||||
menu_ru_ru.koi8-r.vim : menu_ru_ru.utf-8.vim
|
||||
-$(RM) $@
|
||||
- $(RM) $@
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f UTF-8 -t KOI8-R $? >$@
|
||||
!ELSE
|
||||
@@ -268,13 +268,13 @@ menu_ru_ru.koi8-r.vim : menu_ru_ru.utf-8.vim
|
||||
$(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
|
||||
[System.Text.Encoding]::GetEncoding(20866)) -replace \
|
||||
'scriptencoding utf-8', 'scriptencoding koi8-r' -replace \
|
||||
' Original translations', ' Generated from $?, DO NOT EDIT'; \
|
||||
'Original translations', 'Generated from $?, DO NOT EDIT'; \
|
||||
[System.IO.File]::WriteAllText(\"$@\", $$out, \
|
||||
[System.Text.Encoding]::GetEncoding(20866))
|
||||
|
||||
# Convert menu_slovak_slovak_republic.1250.vim to create menu_sk_sk.iso_8859-2.vim.
|
||||
# Convert menu_slovak_slovak_republic.1250.vim to menu_sk_sk.iso_8859-2.vim.
|
||||
menu_sk_sk.iso_8859-2.vim : menu_slovak_slovak_republic.1250.vim
|
||||
-$(RM) $@
|
||||
- $(RM) $@
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f CP1250 -t ISO-8859-2 $? >$@
|
||||
!ELSE
|
||||
@@ -286,13 +286,13 @@ menu_sk_sk.iso_8859-2.vim : menu_slovak_slovak_republic.1250.vim
|
||||
$(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
|
||||
[System.Text.Encoding]::GetEncoding(28592)) -replace \
|
||||
'scriptencoding cp1250', 'scriptencoding iso-8859-2' -replace \
|
||||
' Original translations', ' Generated from $?, DO NOT EDIT'; \
|
||||
'Original translations', 'Generated from $?, DO NOT EDIT'; \
|
||||
[System.IO.File]::WriteAllText(\"$@\", $$out, \
|
||||
[System.Text.Encoding]::GetEncoding(28592))
|
||||
|
||||
# Convert menu_sl_si.utf-8.vim to create menu_sl_si.cp1250.vim.
|
||||
# Convert menu_sl_si.utf-8.vim to menu_sl_si.cp1250.vim.
|
||||
menu_sl_si.cp1250.vim : menu_sl_si.utf-8.vim
|
||||
-$(RM) $@
|
||||
- $(RM) $@
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f UTF-8 -t CP1250 $? >$@
|
||||
!ELSE
|
||||
@@ -304,13 +304,13 @@ menu_sl_si.cp1250.vim : menu_sl_si.utf-8.vim
|
||||
$(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
|
||||
[System.Text.Encoding]::GetEncoding(1250)) -replace \
|
||||
'scriptencoding utf-8', 'scriptencoding cp1250' -replace \
|
||||
' Original translations', ' Generated from $?, DO NOT EDIT'; \
|
||||
'Original translations', 'Generated from $?, DO NOT EDIT'; \
|
||||
[System.IO.File]::WriteAllText(\"$@\", $$out, \
|
||||
[System.Text.Encoding]::GetEncoding(1250))
|
||||
|
||||
# Convert menu_sl_si.utf-8.vim to create menu_sl_si.latin2.vim.
|
||||
# Convert menu_sl_si.utf-8.vim to menu_sl_si.latin2.vim.
|
||||
menu_sl_si.latin2.vim : menu_sl_si.utf-8.vim
|
||||
-$(RM) $@
|
||||
- $(RM) $@
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f UTF-8 -t ISO-8859-2 $? >$@
|
||||
!ELSE
|
||||
@@ -322,71 +322,93 @@ menu_sl_si.latin2.vim : menu_sl_si.utf-8.vim
|
||||
$(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
|
||||
[System.Text.Encoding]::GetEncoding(28592)) -replace \
|
||||
'scriptencoding utf-8', 'scriptencoding iso-8859-2' -replace \
|
||||
' Original translations', ' Generated from $?, DO NOT EDIT'; \
|
||||
'Original translations', 'Generated from $?, DO NOT EDIT'; \
|
||||
[System.IO.File]::WriteAllText(\"$@\", $$out, \
|
||||
[System.Text.Encoding]::GetEncoding(28592))
|
||||
|
||||
# Convert menu_sr_rs.utf-8.vim to create menu_sr_rs.ascii.vim.
|
||||
# Convert menu_sr_rs.utf-8.vim to menu_sr_rs.ascii.vim.
|
||||
menu_sr_rs.ascii.vim : menu_sr_rs.utf-8.vim
|
||||
-$(RM) $@
|
||||
- $(RM) $@
|
||||
$(PS) $(PSFLAGS) [System.IO.File]::ReadAllText(\"$?\", \
|
||||
[System.Text.Encoding]::GetEncoding(65001)) -replace \
|
||||
'scriptencoding utf-8', 'scriptencoding latin1' -replace \
|
||||
' Original translations', ' Generated from $?, DO NOT EDIT' -creplace \
|
||||
[char]1072, 'a' -creplace [char]1073, 'b' -creplace [char]1074, 'v' -creplace \
|
||||
[char]1075, 'g' -creplace [char]1076, 'd' -creplace [char]1106, 'dj' -creplace \
|
||||
[char]1077, 'e' -creplace [char]1078, 'z' -creplace [char]1079, 'z' -creplace \
|
||||
[char]1080, 'i' -creplace [char]1112, 'j' -creplace [char]1082, 'k' -creplace \
|
||||
[char]1083, 'l' -creplace [char]1113, 'lj' -creplace [char]1084, 'm' -creplace \
|
||||
[char]1085, 'n' -creplace [char]1114, 'nj' -creplace [char]1086, 'o' -creplace \
|
||||
[char]1087, 'p' -creplace [char]1088, 'r' -creplace [char]1089, 's' -creplace \
|
||||
[char]1090, 't' -creplace [char]1115, 'c' -creplace [char]1091, 'u' -creplace \
|
||||
[char]1092, 'f' -creplace [char]1093, 'h' -creplace [char]1094, 'c' -creplace \
|
||||
[char]1095, 'c' -creplace [char]1119, 'dz' -creplace [char]1096, 's' -creplace \
|
||||
[char]1040, 'A' -creplace [char]1041, 'B' -creplace [char]1042, 'V' -creplace \
|
||||
[char]1043, 'G' -creplace [char]1044, 'D' -creplace [char]1026, 'Đ' -creplace \
|
||||
[char]1045, 'E' -creplace [char]1046, 'Z' -creplace [char]1047, 'Z' -creplace \
|
||||
[char]1048, 'I' -creplace [char]1032, 'J' -creplace [char]1050, 'K' -creplace \
|
||||
[char]1051, 'L' -creplace [char]1033, 'Lj' -creplace [char]1052, 'M' -creplace \
|
||||
[char]1053, 'N' -creplace [char]1034, 'Nj' -creplace [char]1054, 'O' -creplace \
|
||||
[char]1055, 'P' -creplace [char]1056, 'R' -creplace [char]1057, 'S' -creplace \
|
||||
[char]1058, 'T' -creplace [char]1035, 'C' -creplace [char]1059, 'U' -creplace \
|
||||
[char]1060, 'F' -creplace [char]1061, 'H' -creplace [char]1062, 'C' -creplace \
|
||||
[char]1063, 'C' -creplace [char]1039, 'Dz' -creplace [char]1064, 'S' ^| \
|
||||
1>nul New-Item -Force -Path . -ItemType file -Name $@
|
||||
'Original translations', 'Generated from $?, DO NOT EDIT' \
|
||||
-creplace [char]1072, 'a' -creplace [char]1073, 'b' \
|
||||
-creplace [char]1074, 'v' -creplace [char]1075, 'g' \
|
||||
-creplace [char]1076, 'd' -creplace [char]1106, 'dj' \
|
||||
-creplace [char]1077, 'e' -creplace [char]1078, 'z' \
|
||||
-creplace [char]1079, 'z' -creplace [char]1080, 'i' \
|
||||
-creplace [char]1112, 'j' -creplace [char]1082, 'k' \
|
||||
-creplace [char]1083, 'l' -creplace [char]1113, 'lj' \
|
||||
-creplace [char]1084, 'm' -creplace [char]1085, 'n' \
|
||||
-creplace [char]1114, 'nj' -creplace [char]1086, 'o' \
|
||||
-creplace [char]1087, 'p' -creplace [char]1088, 'r' \
|
||||
-creplace [char]1089, 's' -creplace [char]1090, 't' \
|
||||
-creplace [char]1115, 'c' -creplace [char]1091, 'u' \
|
||||
-creplace [char]1092, 'f' -creplace [char]1093, 'h' \
|
||||
-creplace [char]1094, 'c' -creplace [char]1095, 'c' \
|
||||
-creplace [char]1119, 'dz' -creplace [char]1096, 's' \
|
||||
-creplace [char]1040, 'A' -creplace [char]1041, 'B' \
|
||||
-creplace [char]1042, 'V' -creplace [char]1043, 'G' \
|
||||
-creplace [char]1044, 'D' -creplace [char]1026, 'Đ' \
|
||||
-creplace [char]1045, 'E' -creplace [char]1046, 'Z' \
|
||||
-creplace [char]1047, 'Z' -creplace [char]1048, 'I' \
|
||||
-creplace [char]1032, 'J' -creplace [char]1050, 'K' \
|
||||
-creplace [char]1051, 'L' -creplace [char]1033, 'Lj' \
|
||||
-creplace [char]1052, 'M' -creplace [char]1053, 'N' \
|
||||
-creplace [char]1034, 'Nj' -creplace [char]1054, 'O' \
|
||||
-creplace [char]1055, 'P' -creplace [char]1056, 'R' \
|
||||
-creplace [char]1057, 'S' -creplace [char]1058, 'T' \
|
||||
-creplace [char]1035, 'C' -creplace [char]1059, 'U' \
|
||||
-creplace [char]1060, 'F' -creplace [char]1061, 'H' \
|
||||
-creplace [char]1062, 'C' -creplace [char]1063, 'C' \
|
||||
-creplace [char]1039, 'Dz' -creplace [char]1064, 'S' ^| \
|
||||
1>nul New-Item -Path . -Name $@ -ItemType file -Force
|
||||
|
||||
# Convert menu_sr_rs.utf-8.vim to create menu_sr_rs.iso_8859-2.vim.
|
||||
# Convert menu_sr_rs.utf-8.vim to menu_sr_rs.iso_8859-2.vim.
|
||||
menu_sr_rs.iso_8859-2.vim : menu_sr_rs.utf-8.vim
|
||||
-$(RM) $@
|
||||
- $(RM) $@
|
||||
$(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$?\", \
|
||||
[System.Text.Encoding]::GetEncoding(65001)) -creplace \
|
||||
[char]1072, 'a' -creplace [char]1073, 'b' -creplace [char]1074, 'v' -creplace \
|
||||
[char]1075, 'g' -creplace [char]1076, 'd' -creplace [char]1106, [char]273 -creplace \
|
||||
[char]1077, 'e' -creplace [char]1078, [char]382 -creplace [char]1079, 'z' -creplace \
|
||||
[char]1080, 'i' -creplace [char]1112, 'j' -creplace [char]1082, 'k' -creplace \
|
||||
[char]1083, 'l' -creplace [char]1113, 'lj' -creplace [char]1084, 'm' -creplace \
|
||||
[char]1085, 'n' -creplace [char]1114, 'nj' -creplace [char]1086, 'o' -creplace \
|
||||
[char]1087, 'p' -creplace [char]1088, 'r' -creplace [char]1089, 's' -creplace \
|
||||
[char]1090, 't' -creplace [char]1115, [char]263 -creplace [char]1091, 'u' -creplace \
|
||||
[char]1092, 'f' -creplace [char]1093, 'h' -creplace [char]1094, 'c' -creplace \
|
||||
[char]1095, [char]269 -creplace [char]1119, 'dz' -creplace [char]1096, [char]353 -creplace \
|
||||
[char]1040, 'A' -creplace [char]1041, 'B' -creplace [char]1042, 'V' -creplace \
|
||||
[char]1043, 'G' -creplace [char]1044, 'D' -creplace [char]1026, 'Đ' -creplace \
|
||||
[char]1045, 'E' -creplace [char]1046, [char]381 -creplace [char]1047, 'Z' -creplace \
|
||||
[char]1048, 'I' -creplace [char]1032, 'J' -creplace [char]1050, 'K' -creplace \
|
||||
[char]1051, 'L' -creplace [char]1033, 'Lj'-creplace [char]1052, 'M' -creplace \
|
||||
[char]1053, 'N' -creplace [char]1034, 'Nj' -creplace [char]1054, 'O' -creplace \
|
||||
[char]1055, 'P' -creplace [char]1056, 'R' -creplace [char]1057, 'S' -creplace \
|
||||
[char]1058, 'T' -creplace [char]1035, [char]262 -creplace [char]1059, 'U' -creplace \
|
||||
[char]1060, 'F' -creplace [char]1061, 'H' -creplace [char]1062, 'C' -creplace \
|
||||
[char]1063, [char]268 -creplace [char]1039, 'Dz' -creplace [char]1064, [char]352 -replace \
|
||||
'scriptencoding utf-8', 'scriptencoding iso-8859-2' -replace \
|
||||
' Original translations', ' Generated from $?, DO NOT EDIT'; \
|
||||
[System.IO.File]::WriteAllText(\"$@\", $$out, [System.Text.Encoding]::GetEncoding(28592))
|
||||
[System.Text.Encoding]::GetEncoding(65001)) \
|
||||
-creplace [char]1072, 'a' -creplace [char]1073, 'b' \
|
||||
-creplace [char]1074, 'v' -creplace [char]1075, 'g' \
|
||||
-creplace [char]1076, 'd' -creplace [char]1106, [char]273 \
|
||||
-creplace [char]1077, 'e' -creplace [char]1078, [char]382 \
|
||||
-creplace [char]1079, 'z' -creplace [char]1080, 'i' \
|
||||
-creplace [char]1112, 'j' -creplace [char]1082, 'k' \
|
||||
-creplace [char]1083, 'l' -creplace [char]1113, 'lj' \
|
||||
-creplace [char]1084, 'm' -creplace [char]1085, 'n' \
|
||||
-creplace [char]1114, 'nj' -creplace [char]1086, 'o' \
|
||||
-creplace [char]1087, 'p' -creplace [char]1088, 'r' \
|
||||
-creplace [char]1089, 's' -creplace [char]1090, 't' \
|
||||
-creplace [char]1115, [char]263 -creplace [char]1091, 'u' \
|
||||
-creplace [char]1092, 'f' -creplace [char]1093, 'h' \
|
||||
-creplace [char]1094, 'c' -creplace [char]1095, [char]269 \
|
||||
-creplace [char]1119, 'dz' -creplace [char]1096, [char]353 \
|
||||
-creplace [char]1040, 'A' -creplace [char]1041, 'B' \
|
||||
-creplace [char]1042, 'V' -creplace [char]1043, 'G' \
|
||||
-creplace [char]1044, 'D' -creplace [char]1026, 'Đ' \
|
||||
-creplace [char]1045, 'E' -creplace [char]1046, [char]381 \
|
||||
-creplace [char]1047, 'Z' -creplace [char]1048, 'I' \
|
||||
-creplace [char]1032, 'J' -creplace [char]1050, 'K' \
|
||||
-creplace [char]1051, 'L' -creplace [char]1033, 'Lj'\
|
||||
-creplace [char]1052, 'M' -creplace [char]1053, 'N' \
|
||||
-creplace [char]1034, 'Nj' -creplace [char]1054, 'O' \
|
||||
-creplace [char]1055, 'P' -creplace [char]1056, 'R' \
|
||||
-creplace [char]1057, 'S' -creplace [char]1058, 'T' \
|
||||
-creplace [char]1035, [char]262 -creplace [char]1059, 'U' \
|
||||
-creplace [char]1060, 'F' -creplace [char]1061, 'H' \
|
||||
-creplace [char]1062, 'C' -creplace [char]1063, [char]268 \
|
||||
-creplace [char]1039, 'Dz' -creplace [char]1064, [char]352 \
|
||||
-replace 'scriptencoding utf-8', 'scriptencoding iso-8859-2' \
|
||||
-replace \
|
||||
'Original translations', 'Generated from $?, DO NOT EDIT'; \
|
||||
[System.IO.File]::WriteAllText(\"$@\", $$out, \
|
||||
[System.Text.Encoding]::GetEncoding(28592))
|
||||
|
||||
# Convert menu_sr_rs.utf-8.vim to create menu_sr_rs.iso_8859-5.vim.
|
||||
# Convert menu_sr_rs.utf-8.vim to menu_sr_rs.iso_8859-5.vim.
|
||||
menu_sr_rs.iso_8859-5.vim : menu_sr_rs.utf-8.vim
|
||||
-$(RM) $@
|
||||
- $(RM) $@
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f UTF-8 -t ISO-8859-5 $? >$@
|
||||
!ELSE
|
||||
@@ -398,13 +420,13 @@ menu_sr_rs.iso_8859-5.vim : menu_sr_rs.utf-8.vim
|
||||
$(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
|
||||
[System.Text.Encoding]::GetEncoding(28595)) -replace \
|
||||
'scriptencoding utf-8', 'scriptencoding iso-8859-5' -replace \
|
||||
' Original translations', ' Generated from $?, DO NOT EDIT'; \
|
||||
'Original translations', 'Generated from $?, DO NOT EDIT'; \
|
||||
[System.IO.File]::WriteAllText(\"$@\", $$out, \
|
||||
[System.Text.Encoding]::GetEncoding(28595))
|
||||
|
||||
# Convert menu_tr_tr.utf-8.vim to create menu_tr_tr.cp1254.vim.
|
||||
# Convert menu_tr_tr.utf-8.vim to menu_tr_tr.cp1254.vim.
|
||||
menu_tr_tr.cp1254.vim : menu_tr_tr.utf-8.vim
|
||||
-$(RM) $@
|
||||
- $(RM) $@
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f UTF-8 -t CP1254 $? >$@
|
||||
!ELSE
|
||||
@@ -416,13 +438,13 @@ menu_tr_tr.cp1254.vim : menu_tr_tr.utf-8.vim
|
||||
$(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
|
||||
[System.Text.Encoding]::GetEncoding(1254)) -replace \
|
||||
'scriptencoding utf-8', 'scriptencoding cp1254' -replace \
|
||||
' Original translations', ' Generated from $?, DO NOT EDIT'; \
|
||||
'Original translations', 'Generated from $?, DO NOT EDIT'; \
|
||||
[System.IO.File]::WriteAllText(\"$@\", $$out, \
|
||||
[System.Text.Encoding]::GetEncoding(1254))
|
||||
|
||||
# Convert menu_tr_tr.utf-8.vim to create menu_tr_tr.iso_8859-9.vim.
|
||||
# Convert menu_tr_tr.utf-8.vim to menu_tr_tr.iso_8859-9.vim.
|
||||
menu_tr_tr.iso_8859-9.vim : menu_tr_tr.utf-8.vim
|
||||
-$(RM) $@
|
||||
- $(RM) $@
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f UTF-8 -t ISO-8859-9 $? >$@
|
||||
!ELSE
|
||||
@@ -434,13 +456,13 @@ menu_tr_tr.iso_8859-9.vim : menu_tr_tr.utf-8.vim
|
||||
$(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
|
||||
[System.Text.Encoding]::GetEncoding(28599)) -replace \
|
||||
'scriptencoding utf-8', 'scriptencoding iso-8859-9' -replace \
|
||||
' Original translations', ' Generated from $?, DO NOT EDIT'; \
|
||||
'Original translations', 'Generated from $?, DO NOT EDIT'; \
|
||||
[System.IO.File]::WriteAllText(\"$@\", $$out, \
|
||||
[System.Text.Encoding]::GetEncoding(28599))
|
||||
|
||||
# Convert menu_uk_ua.utf-8.vim to create menu_uk_ua.cp1251.vim.
|
||||
# Convert menu_uk_ua.utf-8.vim to menu_uk_ua.cp1251.vim.
|
||||
menu_uk_ua.cp1251.vim : menu_uk_ua.utf-8.vim
|
||||
-$(RM) $@
|
||||
- $(RM) $@
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f UTF-8 -t CP1251 $? >$@
|
||||
!ELSE
|
||||
@@ -452,13 +474,13 @@ menu_uk_ua.cp1251.vim : menu_uk_ua.utf-8.vim
|
||||
$(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
|
||||
[System.Text.Encoding]::GetEncoding(1251)) -replace \
|
||||
'scriptencoding utf-8', 'scriptencoding cp1251' -replace \
|
||||
' Original translations', ' Generated from $?, DO NOT EDIT'; \
|
||||
'Original translations', 'Generated from $?, DO NOT EDIT'; \
|
||||
[System.IO.File]::WriteAllText(\"$@\", $$out, \
|
||||
[System.Text.Encoding]::GetEncoding(1251))
|
||||
|
||||
# Convert menu_uk_ua.utf-8.vim to create menu_uk_ua.koi8-u.vim.
|
||||
# Convert menu_uk_ua.utf-8.vim to menu_uk_ua.koi8-u.vim.
|
||||
menu_uk_ua.koi8-u.vim : menu_uk_ua.utf-8.vim
|
||||
-$(RM) $@
|
||||
- $(RM) $@
|
||||
!IF DEFINED (ICONV)
|
||||
$(ICONV) -f UTF-8 -t KOI8-U $? >$@
|
||||
!ELSE
|
||||
@@ -470,11 +492,11 @@ menu_uk_ua.koi8-u.vim : menu_uk_ua.utf-8.vim
|
||||
$(PS) $(PSFLAGS) $$out = [System.IO.File]::ReadAllText(\"$@\", \
|
||||
[System.Text.Encoding]::GetEncoding(21866)) -replace \
|
||||
'scriptencoding utf-8', 'scriptencoding koi8-u' -replace \
|
||||
' Original translations', ' Generated from $?, DO NOT EDIT'; \
|
||||
'Original translations', 'Generated from $?, DO NOT EDIT'; \
|
||||
[System.IO.File]::WriteAllText(\"$@\", $$out, \
|
||||
[System.Text.Encoding]::GetEncoding(21866))
|
||||
|
||||
clean :
|
||||
@for %%G in ($(CONVERTED)) do (if exist .\%%G ($(RM) %%G))
|
||||
@ for %%G in ($(CONVERTED)) do @(if exist .\%%G $(RM) %%G)
|
||||
|
||||
# vim: set noet sw=8 ts=8 sts=0 wm=0 tw=0 ft=make:
|
||||
# vim: set noet sw=8 ts=8 sts=0 wm=0 tw=79 ft=make:
|
||||
|
Reference in New Issue
Block a user