blob: d1950511dfd21b25997b85d2229c2415f1f7c24b [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001# 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.
Bram Moolenaard9380f52006-09-02 12:50:52 +00005#
6# Similarly for Russian and Korean
Bram Moolenaar071d4272004-06-13 20:20:40 +00007
Bram Moolenaard9380f52006-09-02 12:50:52 +00008all: tutor.ja.sjis tutor.ja.euc \
9 tutor.ko.euc \
Bram Moolenaar45125092006-09-10 11:24:31 +000010 tutor.ru tutor.ru.cp1251 \
11 tutor.gr tutor.gr.cp737
Bram Moolenaar071d4272004-06-13 20:20:40 +000012
13tutor.ja.sjis: tutor.ja.utf-8
14 nkf -WXs tutor.ja.utf-8 > tutor.ja.sjis
15
16tutor.ja.euc: tutor.ja.utf-8
17 nkf -WXe tutor.ja.utf-8 > tutor.ja.euc
18
19tutor.ko.euc: tutor.ko.utf-8
20 iconv -f UTF-8 -t EUC-KR tutor.ko.utf-8 > tutor.ko.euc
Bram Moolenaard9380f52006-09-02 12:50:52 +000021
22tutor.ru: tutor.ru.utf-8
23 iconv -f UTF-8 -t KOI8-R tutor.ru.utf-8 > tutor.ru
24
25tutor.ru.cp1251: tutor.ru.utf-8
26 iconv -f UTF-8 -t cp1251 tutor.ru.utf-8 > tutor.ru.cp1251
Bram Moolenaar45125092006-09-10 11:24:31 +000027
28tutor.gr: tutor.gr.utf-8
29 iconv -f UTF-8 -t ISO-8859-7 tutor.gr.utf-8 > tutor.gr
30
31tutor.gr.cp737: tutor.gr.utf-8
32 iconv -f UTF-8 -t cp737 tutor.gr.utf-8 > tutor.gr.cp737