blob: 0562a7d1cf939d77d828d77d21ea97092d179564 [file] [log] [blame]
# 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.ja.sjis tutor.ja.euc \
tutor.ko.euc \
tutor.ru tutor.ru.cp1251
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.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