blob: 0562a7d1cf939d77d828d77d21ea97092d179564 [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 \
10 tutor.ru tutor.ru.cp1251
Bram Moolenaar071d4272004-06-13 20:20:40 +000011
12tutor.ja.sjis: tutor.ja.utf-8
13 nkf -WXs tutor.ja.utf-8 > tutor.ja.sjis
14
15tutor.ja.euc: tutor.ja.utf-8
16 nkf -WXe tutor.ja.utf-8 > tutor.ja.euc
17
18tutor.ko.euc: tutor.ko.utf-8
19 iconv -f UTF-8 -t EUC-KR tutor.ko.utf-8 > tutor.ko.euc
Bram Moolenaard9380f52006-09-02 12:50:52 +000020
21tutor.ru: tutor.ru.utf-8
22 iconv -f UTF-8 -t KOI8-R tutor.ru.utf-8 > tutor.ru
23
24tutor.ru.cp1251: tutor.ru.utf-8
25 iconv -f UTF-8 -t cp1251 tutor.ru.utf-8 > tutor.ru.cp1251