summaryrefslogtreecommitdiff
path: root/runtime/tutor/Makefile
blob: 7f4df75ee55adc03642c9e6ae71ea92411d455e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# Makefile for the Vim tutor.
#
# The Japanese tutor exists in three encodings.  Use the UTF-8 version as the
# original and create the others with conversion.
#
# Similarly for Russian and Korean

all: tutor.utf-8 \
	tutor.bj \
	tutor.ca.utf-8 \
	tutor.de.utf-8 \
	tutor.el tutor.el.cp737 \
	tutor.eo \
	tutor.es.utf-8 \
	tutor.fr.utf-8 \
	tutor.hr tutor.hr.cp1250 \
	tutor.hu tutor.hu.cp1250 \
	tutor.it.utf-8 \
	tutor.ja.sjis tutor.ja.euc \
	tutor.ko.euc \
	tutor.no.utf-8 \
	tutor.nb \
	tutor.nb.utf-8 \
	tutor.ru tutor.ru.cp1251 \
	tutor.sv.utf-8 \
	tutor.zh.utf-8

tutor.utf-8: tutor
	iconv -f ISO-8859-1 -t UTF-8 tutor > tutor.utf-8

tutor.bj: tutor.bj.utf-8
	iconv -f UTF-8 -t ISO-8859-1 tutor.bj.utf-8 > tutor.bj

tutor.ca.utf-8: tutor.ca
	iconv -f ISO-8859-1 -t UTF-8 tutor.ca > tutor.ca.utf-8

tutor.eo: tutor.eo.utf-8
	iconv -f UTF-8 -t ISO-8859-3 tutor.eo.utf-8 > tutor.eo

tutor.de.utf-8: tutor.de
	iconv -f ISO-8859-1 -t UTF-8 tutor.de > tutor.de.utf-8

tutor.el: tutor.el.utf-8
	iconv -f UTF-8 -t ISO-8859-7 tutor.el.utf-8 > tutor.el

tutor.el.cp737: tutor.el.utf-8
	iconv -f UTF-8 -t cp737 tutor.el.utf-8 > tutor.el.cp737

tutor.es.utf-8: tutor.es
	iconv -f ISO-8859-1 -t UTF-8 tutor.es > tutor.es.utf-8

tutor.fr.utf-8: tutor.fr
	iconv -f ISO-8859-1 -t UTF-8 tutor.fr > tutor.fr.utf-8

tutor.hu: tutor.hu.utf-8
	iconv -f UTF-8 -t ISO-8859-2 tutor.hu.utf-8 > tutor.hu

tutor.hu.cp1250: tutor.hu.utf-8
	iconv -f UTF-8 -t cp1250 tutor.hu.utf-8 > tutor.hu.cp1250

tutor.hr: tutor.hr.utf-8
	iconv -f UTF-8 -t ISO-8859-2 tutor.hr.utf-8 > tutor.hr

tutor.hr.cp1250: tutor.hr.utf-8
	iconv -f UTF-8 -t cp1250 tutor.hr.utf-8 > tutor.hr.cp1250

tutor.ja.sjis: tutor.ja.utf-8
	nkf -WXs tutor.ja.utf-8 > tutor.ja.sjis

tutor.ja.euc: tutor.ja.utf-8
	nkf -WXe tutor.ja.utf-8 > tutor.ja.euc

tutor.ko.euc: tutor.ko.utf-8
	iconv -f UTF-8 -t EUC-KR tutor.ko.utf-8 > tutor.ko.euc

tutor.no.utf-8: tutor.no
	iconv -f ISO-8859-1 -t UTF-8 tutor.no > tutor.no.utf-8

# nb is an alias for no
tutor.nb: tutor.no
	cp tutor.no tutor.nb

tutor.nb.utf-8: tutor.no.utf-8
	cp tutor.no.utf-8 tutor.nb.utf-8

tutor.ru: tutor.ru.utf-8
	iconv -f UTF-8 -t KOI8-R tutor.ru.utf-8 > tutor.ru

tutor.ru.cp1251: tutor.ru.utf-8
	iconv -f UTF-8 -t cp1251 tutor.ru.utf-8 > tutor.ru.cp1251

tutor.sv.utf-8: tutor.sv
	iconv -f ISO-8859-1 -t UTF-8 tutor.sv > tutor.sv.utf-8

tutor.zh.utf-8: tutor.zh.big5
	iconv -f BIG-5 -t UTF-8 tutor.zh.big5 > tutor.zh.utf-8