xref: /vim-8.2.3635/runtime/tutor/Makefile (revision d55de224)
1# Makefile for the Vim tutor.
2#
3# The Japanese tutor exists in three encodings.  Use the UTF-8 version as the
4# original and create the others with conversion.
5#
6# Similarly for Russian and Korean
7
8all: tutor.ja.sjis tutor.ja.euc \
9	tutor.ko.euc \
10	tutor.ru tutor.ru.cp1251 \
11	tutor.gr tutor.gr.cp737 \
12	tutor.hu
13
14tutor.ja.sjis: tutor.ja.utf-8
15	nkf -WXs tutor.ja.utf-8 > tutor.ja.sjis
16
17tutor.ja.euc: tutor.ja.utf-8
18	nkf -WXe tutor.ja.utf-8 > tutor.ja.euc
19
20tutor.ko.euc: tutor.ko.utf-8
21	iconv -f UTF-8 -t EUC-KR tutor.ko.utf-8 > tutor.ko.euc
22
23tutor.ru: tutor.ru.utf-8
24	iconv -f UTF-8 -t KOI8-R tutor.ru.utf-8 > tutor.ru
25
26tutor.ru.cp1251: tutor.ru.utf-8
27	iconv -f UTF-8 -t cp1251 tutor.ru.utf-8 > tutor.ru.cp1251
28
29tutor.gr: tutor.gr.utf-8
30	iconv -f UTF-8 -t ISO-8859-7 tutor.gr.utf-8 > tutor.gr
31
32tutor.gr.cp737: tutor.gr.utf-8
33	iconv -f UTF-8 -t cp737 tutor.gr.utf-8 > tutor.gr.cp737
34
35tutor.hu: tutor.hu.utf-8
36	iconv -f UTF-8 -t ISO-8859-2 tutor.hu.utf-8 > tutor.hu
37