summaryrefslogtreecommitdiff
path: root/runtime/tutor/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/tutor/Makefile')
-rw-r--r--runtime/tutor/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/runtime/tutor/Makefile b/runtime/tutor/Makefile
new file mode 100644
index 000000000..05a59615a
--- /dev/null
+++ b/runtime/tutor/Makefile
@@ -0,0 +1,15 @@
+# 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.
+
+all: tutor.ja.sjis tutor.ja.euc tutor.ko.euc
+
+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