Mercurial > vim
annotate runtime/tutor/Make_mvc.mak @ 34511:5397ce113043 v9.1.0161
patch 9.1.0161: expand() removes slash after env variable that ends with colon
Commit: https://github.com/vim/vim/commit/13a014452a7a020a119ac555a690c65b41f3126d
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sat Mar 9 17:44:46 2024 +0100
patch 9.1.0161: expand() removes slash after env variable that ends with colon
Problem: expand() removes a slash after an environment variable that
ends with a colon on Windows.
Solution: Check the correct char for a colon (zeertzjq)
closes: #14161
Note: Vim still removes the path-separator at the end, if another path separator
follows directly after it, e.g. on:
```
echo $FOO='/usr/'
echo expand('$FOO/bar') == '/usr/bar'
```
see:
,----[ misc1.c:1630 ]
| // if var[] ends in a path separator and tail[] starts
| // with it, skip a character
| if (after_pathsep(dst, dst + c)
| #if defined(BACKSLASH_IN_FILENAME) || defined(AMIGA)
| && (dst == save_dst || dst[-1] != ':')
| #endif
| && vim_ispathsep(*tail))
| ++tail;
`----
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 09 Mar 2024 18:15:02 +0100 |
parents | 72aee06c1d78 |
children |
rev | line source |
---|---|
33835
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
1 # |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
2 # Makefile for converting the Vim tutorial on Windows. |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
3 # |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
4 # 21.11.23, Restorer, restorer@mail2k.ru |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
5 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
6 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
7 !IF [powershell -nologo -noprofile "exit $$psversiontable.psversion.major"] == 2 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
8 !ERROR The program "PowerShell" version 3.0 or higher is required to work |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
9 !ENDIF |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
10 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
11 # Common components |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
12 !INCLUDE Make_all.mak |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
13 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
14 # Correct the following line for the directory where iconv is installed. |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
15 # Please do not put the path in quotes. |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
16 ICONV_PATH = D:\Programs\GetText\bin |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
17 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
18 # In case some package like GnuWin32, UnixUtils, gettext |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
19 # or something similar is installed on the system. |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
20 # If the "iconv" program is installed on the system, but it is not registered |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
21 # in the %PATH% environment variable, then specify the full path to this file. |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
22 !IF EXIST ("iconv.exe") |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
23 ICONV = "iconv.exe" |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
24 !ELSEIF EXIST ("$(ICONV_PATH)\iconv.exe") |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
25 ICONV = "$(ICONV_PATH)\iconv.exe" |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
26 !ENDIF |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
27 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
28 RM = del /q |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
29 CP = copy /y |
34177
72aee06c1d78
runtime(tutor): simplify tutor makefiles (#13859)
Christian Brabandt <cb@256bit.org>
parents:
33835
diff
changeset
|
30 PS = PowerShell.exe |
72aee06c1d78
runtime(tutor): simplify tutor makefiles (#13859)
Christian Brabandt <cb@256bit.org>
parents:
33835
diff
changeset
|
31 |
72aee06c1d78
runtime(tutor): simplify tutor makefiles (#13859)
Christian Brabandt <cb@256bit.org>
parents:
33835
diff
changeset
|
32 PSFLAGS = -NoLogo -NoProfile -Command |
33835
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
33 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
34 all : $(CONVERTED) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
35 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
36 tutor.utf-8 : tutor |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
37 !IF DEFINED (ICONV) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
38 $(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
39 !ELSE |
34177
72aee06c1d78
runtime(tutor): simplify tutor makefiles (#13859)
Christian Brabandt <cb@256bit.org>
parents:
33835
diff
changeset
|
40 $(PS) $(PSFLAGS) [System.IO.File]::ReadAllText(\"$?\", \ |
33835
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
41 [System.Text.Encoding]::GetEncoding(28591)) ^| \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
42 1>nul New-Item -Force -ItemType file -Path . -Name $@ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
43 !ENDIF |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
44 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
45 tutor.bar : tutor.bar.utf-8 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
46 !IF DEFINED (ICONV) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
47 $(ICONV) -f UTF-8 -t ISO-8859-1 $? >$@ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
48 !ELSE |
34177
72aee06c1d78
runtime(tutor): simplify tutor makefiles (#13859)
Christian Brabandt <cb@256bit.org>
parents:
33835
diff
changeset
|
49 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \ |
33835
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
50 [System.IO.File]::ReadAllText(\"$?\", \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
51 [System.Text.Encoding]::GetEncoding(65001)), \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
52 [System.Text.Encoding]::GetEncoding(28591)) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
53 !ENDIF |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
54 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
55 tutor.ca.utf-8 : tutor.ca |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
56 !IF DEFINED (ICONV) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
57 $(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
58 !ELSE |
34177
72aee06c1d78
runtime(tutor): simplify tutor makefiles (#13859)
Christian Brabandt <cb@256bit.org>
parents:
33835
diff
changeset
|
59 $(PS) $(PSFLAGS) [System.IO.File]::ReadAllText(\"$?\", \ |
33835
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
60 [System.Text.Encoding]::GetEncoding(28591)) ^| \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
61 1>nul New-Item -Force -ItemType file -Path . -Name $@ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
62 !ENDIF |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
63 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
64 tutor.de.utf-8 : tutor.de |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
65 !IF DEFINED (ICONV) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
66 $(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
67 !ELSE |
34177
72aee06c1d78
runtime(tutor): simplify tutor makefiles (#13859)
Christian Brabandt <cb@256bit.org>
parents:
33835
diff
changeset
|
68 $(PS) $(PSFLAGS) [System.IO.File]::ReadAllText(\"$?\", \ |
33835
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
69 [System.Text.Encoding]::GetEncoding(28591)) ^| \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
70 1>nul New-Item -Force -ItemType file -Path . -Name $@ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
71 !ENDIF |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
72 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
73 tutor.el : tutor.el.utf-8 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
74 !IF DEFINED (ICONV) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
75 $(ICONV) -f UTF-8 -t ISO-8859-7 $? >$@ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
76 !ELSE |
34177
72aee06c1d78
runtime(tutor): simplify tutor makefiles (#13859)
Christian Brabandt <cb@256bit.org>
parents:
33835
diff
changeset
|
77 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \ |
33835
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
78 [System.IO.File]::ReadAllText(\"$?\", \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
79 [System.Text.Encoding]::GetEncoding(65001)), \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
80 [System.Text.Encoding]::GetEncoding(28597)) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
81 !ENDIF |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
82 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
83 tutor.el.cp737 : tutor.el.utf-8 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
84 !IF DEFINED (ICONV) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
85 $(ICONV) -f UTF-8 -t CP737 $? >$@ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
86 !ELSE |
34177
72aee06c1d78
runtime(tutor): simplify tutor makefiles (#13859)
Christian Brabandt <cb@256bit.org>
parents:
33835
diff
changeset
|
87 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \ |
33835
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
88 [System.IO.File]::ReadAllText(\"$?\", \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
89 [System.Text.Encoding]::GetEncoding(65001)), \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
90 [System.Text.Encoding]::GetEncoding(737)) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
91 !ENDIF |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
92 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
93 tutor.eo : tutor.eo.utf-8 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
94 !IF DEFINED (ICONV) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
95 $(ICONV) -f UTF-8 -t ISO-8859-3 $? >$@ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
96 !ELSE |
34177
72aee06c1d78
runtime(tutor): simplify tutor makefiles (#13859)
Christian Brabandt <cb@256bit.org>
parents:
33835
diff
changeset
|
97 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \ |
33835
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
98 [System.IO.File]::ReadAllText(\"$?\", \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
99 [System.Text.Encoding]::GetEncoding(65001)), \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
100 [System.Text.Encoding]::GetEncoding(28593)) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
101 !ENDIF |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
102 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
103 tutor.es : tutor.es.utf-8 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
104 !IF DEFINED (ICONV) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
105 $(ICONV) -f UTF-8 -t ISO-8859-1 $? >$@ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
106 !ELSE |
34177
72aee06c1d78
runtime(tutor): simplify tutor makefiles (#13859)
Christian Brabandt <cb@256bit.org>
parents:
33835
diff
changeset
|
107 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \ |
33835
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
108 [System.IO.File]::ReadAllText(\"$?\", \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
109 [System.Text.Encoding]::GetEncoding(65001)), \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
110 [System.Text.Encoding]::GetEncoding(28591)) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
111 !ENDIF |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
112 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
113 tutor.fr.utf-8 : tutor.fr |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
114 !IF DEFINED (ICONV) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
115 $(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
116 !ELSE |
34177
72aee06c1d78
runtime(tutor): simplify tutor makefiles (#13859)
Christian Brabandt <cb@256bit.org>
parents:
33835
diff
changeset
|
117 $(PS) $(PSFLAGS) [System.IO.File]::ReadAllText(\"$?\", \ |
33835
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
118 [System.Text.Encoding]::GetEncoding(28591)) ^| \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
119 1>nul New-Item -Force -ItemType file -Path . -Name $@ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
120 !ENDIF |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
121 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
122 tutor.hr : tutor.hr.utf-8 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
123 !IF DEFINED (ICONV) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
124 $(ICONV) -f UTF-8 -t ISO-8859-2 $? >$@ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
125 !ELSE |
34177
72aee06c1d78
runtime(tutor): simplify tutor makefiles (#13859)
Christian Brabandt <cb@256bit.org>
parents:
33835
diff
changeset
|
126 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \ |
33835
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
127 [System.IO.File]::ReadAllText(\"$?\", \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
128 [System.Text.Encoding]::GetEncoding(65001)), \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
129 [System.Text.Encoding]::GetEncoding(28592)) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
130 !ENDIF |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
131 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
132 tutor.hr.cp1250 : tutor.hr.utf-8 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
133 !IF DEFINED (ICONV) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
134 $(ICONV) -f UTF-8 -t CP1250 $? >$@ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
135 !ELSE |
34177
72aee06c1d78
runtime(tutor): simplify tutor makefiles (#13859)
Christian Brabandt <cb@256bit.org>
parents:
33835
diff
changeset
|
136 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \ |
33835
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
137 [System.IO.File]::ReadAllText(\"$?\", \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
138 [System.Text.Encoding]::GetEncoding(65001)), \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
139 [System.Text.Encoding]::GetEncoding(1250)) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
140 !ENDIF |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
141 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
142 tutor.hu : tutor.hu.utf-8 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
143 !IF DEFINED (ICONV) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
144 $(ICONV) -f UTF-8 -t ISO-8859-2 $? >$@ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
145 !ELSE |
34177
72aee06c1d78
runtime(tutor): simplify tutor makefiles (#13859)
Christian Brabandt <cb@256bit.org>
parents:
33835
diff
changeset
|
146 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \ |
33835
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
147 [System.IO.File]::ReadAllText(\"$?\", \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
148 [System.Text.Encoding]::GetEncoding(65001)), \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
149 [System.Text.Encoding]::GetEncoding(28592)) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
150 !ENDIF |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
151 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
152 tutor.hu.cp1250 : tutor.hu.utf-8 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
153 !IF DEFINED (ICONV) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
154 $(ICONV) -f UTF-8 -t CP1250 $? >$@ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
155 !ELSE |
34177
72aee06c1d78
runtime(tutor): simplify tutor makefiles (#13859)
Christian Brabandt <cb@256bit.org>
parents:
33835
diff
changeset
|
156 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \ |
33835
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
157 [System.IO.File]::ReadAllText(\"$?\", \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
158 [System.Text.Encoding]::GetEncoding(65001)), \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
159 [System.Text.Encoding]::GetEncoding(1250)) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
160 !ENDIF |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
161 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
162 tutor.it.utf-8 : tutor.it |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
163 !IF DEFINED (ICONV) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
164 $(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
165 !ELSE |
34177
72aee06c1d78
runtime(tutor): simplify tutor makefiles (#13859)
Christian Brabandt <cb@256bit.org>
parents:
33835
diff
changeset
|
166 $(PS) $(PSFLAGS) [System.IO.File]::ReadAllText(\"$?\", \ |
33835
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
167 [System.Text.Encoding]::GetEncoding(28591)) ^| \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
168 1>nul New-Item -Force -ItemType file -Path . -Name $@ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
169 !ENDIF |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
170 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
171 tutor.ja.sjis : tutor.ja.utf-8 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
172 !IF DEFINED (ICONV) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
173 $(ICONV) -f UTF-8 -t CP932 $? >$@ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
174 !ELSE |
34177
72aee06c1d78
runtime(tutor): simplify tutor makefiles (#13859)
Christian Brabandt <cb@256bit.org>
parents:
33835
diff
changeset
|
175 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \ |
33835
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
176 [System.IO.File]::ReadAllText(\"$?\", \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
177 [System.Text.Encoding]::GetEncoding(65001)), \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
178 [System.Text.Encoding]::GetEncoding(932)) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
179 !ENDIF |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
180 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
181 tutor.ja.euc : tutor.ja.utf-8 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
182 !IF DEFINED (ICONV) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
183 $(ICONV) -f UTF-8 -t EUC-JP $? >$@ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
184 !ELSE |
34177
72aee06c1d78
runtime(tutor): simplify tutor makefiles (#13859)
Christian Brabandt <cb@256bit.org>
parents:
33835
diff
changeset
|
185 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \ |
33835
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
186 [System.IO.File]::ReadAllText(\"$?\", \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
187 [System.Text.Encoding]::GetEncoding(65001)), \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
188 [System.Text.Encoding]::GetEncoding(51932)) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
189 !ENDIF |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
190 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
191 tutor.ko.euc : tutor.ko.utf-8 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
192 !IF DEFINED (ICONV) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
193 $(ICONV) -f UTF-8 -t EUC-KR $? >$@ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
194 !ELSE |
34177
72aee06c1d78
runtime(tutor): simplify tutor makefiles (#13859)
Christian Brabandt <cb@256bit.org>
parents:
33835
diff
changeset
|
195 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \ |
33835
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
196 [System.IO.File]::ReadAllText(\"$?\", \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
197 [System.Text.Encoding]::GetEncoding(65001)), \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
198 [System.Text.Encoding]::GetEncoding(51949)) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
199 !ENDIF |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
200 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
201 tutor.nl : tutor.nl.utf-8 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
202 !IF DEFINED (ICONV) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
203 $(ICONV) -f UTF-8 -t ISO-8859-1 $? >$@ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
204 !ELSE |
34177
72aee06c1d78
runtime(tutor): simplify tutor makefiles (#13859)
Christian Brabandt <cb@256bit.org>
parents:
33835
diff
changeset
|
205 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \ |
33835
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
206 [System.IO.File]::ReadAllText(\"$?\", \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
207 [System.Text.Encoding]::GetEncoding(65001)), \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
208 [System.Text.Encoding]::GetEncoding(28591)) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
209 !ENDIF |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
210 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
211 tutor.no.utf-8 : tutor.no |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
212 !IF DEFINED (ICONV) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
213 $(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
214 !ELSE |
34177
72aee06c1d78
runtime(tutor): simplify tutor makefiles (#13859)
Christian Brabandt <cb@256bit.org>
parents:
33835
diff
changeset
|
215 $(PS) $(PSFLAGS) [System.IO.File]::ReadAllText(\"$?\", \ |
33835
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
216 [System.Text.Encoding]::GetEncoding(28591)) ^| \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
217 1>nul New-Item -Force -ItemType file -Path . -Name $@ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
218 !ENDIF |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
219 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
220 # nb is an alias for no |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
221 tutor.nb : tutor.no |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
222 $(CP) tutor.no tutor.nb |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
223 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
224 tutor.nb.utf-8 : tutor.no.utf-8 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
225 $(CP) tutor.no.utf-8 tutor.nb.utf-8 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
226 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
227 tutor.ru : tutor.ru.utf-8 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
228 !IF DEFINED (ICONV) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
229 $(ICONV) -f UTF-8 -t KOI8-R $? >$@ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
230 !ELSE |
34177
72aee06c1d78
runtime(tutor): simplify tutor makefiles (#13859)
Christian Brabandt <cb@256bit.org>
parents:
33835
diff
changeset
|
231 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \ |
33835
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
232 [System.IO.File]::ReadAllText(\"$?\", \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
233 [System.Text.Encoding]::GetEncoding(65001)), \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
234 [System.Text.Encoding]::GetEncoding(20866)) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
235 !ENDIF |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
236 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
237 tutor.ru.cp1251 : tutor.ru.utf-8 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
238 !IF DEFINED (ICONV) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
239 $(ICONV) -f UTF-8 -t CP1251 $? >$@ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
240 !ELSE |
34177
72aee06c1d78
runtime(tutor): simplify tutor makefiles (#13859)
Christian Brabandt <cb@256bit.org>
parents:
33835
diff
changeset
|
241 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \ |
33835
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
242 [System.IO.File]::ReadAllText(\"$?\", \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
243 [System.Text.Encoding]::GetEncoding(65001)), \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
244 [System.Text.Encoding]::GetEncoding(1251)) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
245 !ENDIF |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
246 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
247 tutor.sv.utf-8 : tutor.sv |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
248 !IF DEFINED (ICONV) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
249 $(ICONV) -f ISO-8859-1 -t UTF-8 $? >$@ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
250 !ELSE |
34177
72aee06c1d78
runtime(tutor): simplify tutor makefiles (#13859)
Christian Brabandt <cb@256bit.org>
parents:
33835
diff
changeset
|
251 $(PS) $(PSFLAGS) [System.IO.File]::ReadAllText(\"$?\", \ |
33835
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
252 [System.Text.Encoding]::GetEncoding(28591)) ^| \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
253 1>nul New-Item -Force -ItemType file -Path . -Name $@ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
254 !ENDIF |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
255 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
256 tutor.tr.iso9 : tutor.tr.utf-8 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
257 !IF DEFINED (ICONV) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
258 $(ICONV) -f UTF-8 -t ISO-8859-9 $? >$@ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
259 !ELSE |
34177
72aee06c1d78
runtime(tutor): simplify tutor makefiles (#13859)
Christian Brabandt <cb@256bit.org>
parents:
33835
diff
changeset
|
260 $(PS) $(PSFLAGS) [System.IO.File]::WriteAllText(\"$@\", \ |
33835
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
261 [System.IO.File]::ReadAllText(\"$?\", \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
262 [System.Text.Encoding]::GetEncoding(65001)), \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
263 [System.Text.Encoding]::GetEncoding(28599)) |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
264 !ENDIF |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
265 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
266 tutor.zh.utf-8 : tutor.zh.big5 |
34177
72aee06c1d78
runtime(tutor): simplify tutor makefiles (#13859)
Christian Brabandt <cb@256bit.org>
parents:
33835
diff
changeset
|
267 $(PS) $(PSFLAGS) [System.IO.File]::ReadAllText(\"$?\", \ |
33835
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
268 [System.Text.Encoding]::GetEncoding(950)) ^| \ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
269 1>nul New-Item -Force -ItemType file -Path . -Name $@ |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
270 |
34177
72aee06c1d78
runtime(tutor): simplify tutor makefiles (#13859)
Christian Brabandt <cb@256bit.org>
parents:
33835
diff
changeset
|
271 clean : |
72aee06c1d78
runtime(tutor): simplify tutor makefiles (#13859)
Christian Brabandt <cb@256bit.org>
parents:
33835
diff
changeset
|
272 @for %%G in ($(CONVERTED)) do (if exist .\%%G ($(RM) %%G)) |
33835
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
273 |
ee8c76c18625
runtime(tutor): add Make_mvc.mak file for tutor (#13580)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
274 # vim: set noet sw=8 ts=8 sts=0 wm=0 tw=0 ft=make: |