blob: 3c0fe0ab627c5c7d8fa44986c59ce3aadc367870 [file] [log] [blame]
Bram Moolenaarc32599f2008-06-25 01:05:34 +00001# Makefile for the Vim tutor.
Bram Moolenaar071d4272004-06-13 20:20:40 +00002#
Bram Moolenaarc32599f2008-06-25 01:05:34 +00003# 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#
Bram Moolenaarc32599f2008-06-25 01:05:34 +00006# Similarly for Russian and Korean
Bram Moolenaar071d4272004-06-13 20:20:40 +00007
Restorer64c6bfd2023-11-26 14:01:56 +00008# Common components
9include Make_all.mak
10
Restorer91155eb2024-01-22 22:25:43 +030011.PHONY: all clean
12
Restorer64c6bfd2023-11-26 14:01:56 +000013all: $(CONVERTED)
Bram Moolenaar071d4272004-06-13 20:20:40 +000014
Bram Moolenaarc32599f2008-06-25 01:05:34 +000015tutor.utf-8: tutor
Restorer91155eb2024-01-22 22:25:43 +030016 iconv -f ISO-8859-1 -t UTF-8 $< >$@
Bram Moolenaar071d4272004-06-13 20:20:40 +000017
Bram Moolenaarcab49df2011-03-22 17:40:10 +010018tutor.bar: tutor.bar.utf-8
Restorer91155eb2024-01-22 22:25:43 +030019 iconv -f UTF-8 -t ISO-8859-1 $< >$@
Bram Moolenaar5c736222010-01-06 20:54:52 +010020
Bram Moolenaarc32599f2008-06-25 01:05:34 +000021tutor.ca.utf-8: tutor.ca
Restorer91155eb2024-01-22 22:25:43 +030022 iconv -f ISO-8859-1 -t UTF-8 $< >$@
Bram Moolenaar071d4272004-06-13 20:20:40 +000023
Bram Moolenaar5c736222010-01-06 20:54:52 +010024tutor.eo: tutor.eo.utf-8
Restorer91155eb2024-01-22 22:25:43 +030025 iconv -f UTF-8 -t ISO-8859-3 $< >$@
Bram Moolenaar5c736222010-01-06 20:54:52 +010026
Bram Moolenaarc32599f2008-06-25 01:05:34 +000027tutor.de.utf-8: tutor.de
Restorer91155eb2024-01-22 22:25:43 +030028 iconv -f ISO-8859-1 -t UTF-8 $< >$@
Bram Moolenaard9380f52006-09-02 12:50:52 +000029
Bram Moolenaarc32599f2008-06-25 01:05:34 +000030tutor.el: tutor.el.utf-8
Restorer91155eb2024-01-22 22:25:43 +030031 iconv -f UTF-8 -t ISO-8859-7 $< >$@
Bram Moolenaard9380f52006-09-02 12:50:52 +000032
Bram Moolenaarc32599f2008-06-25 01:05:34 +000033tutor.el.cp737: tutor.el.utf-8
Restorer91155eb2024-01-22 22:25:43 +030034 iconv -f UTF-8 -t CP737 $< >$@
Bram Moolenaar45125092006-09-10 11:24:31 +000035
Bram Moolenaard899e512022-05-07 21:54:03 +010036tutor.es: tutor.es.utf-8
Restorer91155eb2024-01-22 22:25:43 +030037 iconv -f UTF-8 -t ISO-8859-1 $< >$@
Bram Moolenaar45125092006-09-10 11:24:31 +000038
Bram Moolenaarc32599f2008-06-25 01:05:34 +000039tutor.fr.utf-8: tutor.fr
Restorer91155eb2024-01-22 22:25:43 +030040 iconv -f ISO-8859-1 -t UTF-8 $< >$@
Bram Moolenaard55de222007-05-06 13:38:48 +000041
Bram Moolenaarc32599f2008-06-25 01:05:34 +000042tutor.hu: tutor.hu.utf-8
Restorer91155eb2024-01-22 22:25:43 +030043 iconv -f UTF-8 -t ISO-8859-2 $< >$@
Bram Moolenaarf2330482008-06-24 20:19:36 +000044
Bram Moolenaarc32599f2008-06-25 01:05:34 +000045tutor.hu.cp1250: tutor.hu.utf-8
Restorer91155eb2024-01-22 22:25:43 +030046 iconv -f UTF-8 -t CP1250 $< >$@
Restorer64c6bfd2023-11-26 14:01:56 +000047
48tutor.it.utf-8: tutor.it
Restorer91155eb2024-01-22 22:25:43 +030049 iconv -f ISO-8859-1 -t UTF-8 $< >$@
Bram Moolenaarf2330482008-06-24 20:19:36 +000050
Bram Moolenaarc32599f2008-06-25 01:05:34 +000051tutor.hr: tutor.hr.utf-8
Restorer91155eb2024-01-22 22:25:43 +030052 iconv -f UTF-8 -t ISO-8859-2 $< >$@
Bram Moolenaarf2330482008-06-24 20:19:36 +000053
Bram Moolenaarc32599f2008-06-25 01:05:34 +000054tutor.hr.cp1250: tutor.hr.utf-8
Restorer91155eb2024-01-22 22:25:43 +030055 iconv -f UTF-8 -t CP1250 $< >$@
Bram Moolenaarf2330482008-06-24 20:19:36 +000056
Bram Moolenaarc32599f2008-06-25 01:05:34 +000057tutor.ja.sjis: tutor.ja.utf-8
Restorer91155eb2024-01-22 22:25:43 +030058 iconv -f UTF-8 -t CP932 $< >$@
Bram Moolenaarf2330482008-06-24 20:19:36 +000059
Bram Moolenaarc32599f2008-06-25 01:05:34 +000060tutor.ja.euc: tutor.ja.utf-8
Restorer91155eb2024-01-22 22:25:43 +030061 iconv -f UTF-8 -t EUC-JP $< >$@
Bram Moolenaarf2330482008-06-24 20:19:36 +000062
Bram Moolenaarc32599f2008-06-25 01:05:34 +000063tutor.ko.euc: tutor.ko.utf-8
Restorer91155eb2024-01-22 22:25:43 +030064 iconv -f UTF-8 -t EUC-KR $< >$@
Bram Moolenaarf2330482008-06-24 20:19:36 +000065
Bram Moolenaar531da592013-05-06 05:58:55 +020066tutor.nl: tutor.nl.utf-8
Restorer91155eb2024-01-22 22:25:43 +030067 iconv -f UTF-8 -t ISO-8859-1 $< >$@
Bram Moolenaar531da592013-05-06 05:58:55 +020068
Bram Moolenaarc32599f2008-06-25 01:05:34 +000069tutor.no.utf-8: tutor.no
Restorer91155eb2024-01-22 22:25:43 +030070 iconv -f ISO-8859-1 -t UTF-8 $< >$@
Bram Moolenaarf2330482008-06-24 20:19:36 +000071
Bram Moolenaar5c736222010-01-06 20:54:52 +010072# nb is an alias for no
73tutor.nb: tutor.no
Restorer91155eb2024-01-22 22:25:43 +030074 cp $< $@
Bram Moolenaar5c736222010-01-06 20:54:52 +010075
76tutor.nb.utf-8: tutor.no.utf-8
Restorer91155eb2024-01-22 22:25:43 +030077 cp $< $@
Bram Moolenaar5c736222010-01-06 20:54:52 +010078
Bram Moolenaarc32599f2008-06-25 01:05:34 +000079tutor.ru: tutor.ru.utf-8
Restorer91155eb2024-01-22 22:25:43 +030080 iconv -f UTF-8 -t KOI8-R $< >$@
Bram Moolenaarf2330482008-06-24 20:19:36 +000081
Bram Moolenaarc32599f2008-06-25 01:05:34 +000082tutor.ru.cp1251: tutor.ru.utf-8
Restorer91155eb2024-01-22 22:25:43 +030083 iconv -f UTF-8 -t CP1251 $< >$@
Bram Moolenaarf2330482008-06-24 20:19:36 +000084
Bram Moolenaar56c860c2019-08-17 20:09:31 +020085tutor.tr.iso9: tutor.tr.utf-8
Restorer91155eb2024-01-22 22:25:43 +030086 iconv -f UTF-8 -t ISO-8859-9 $< >$@
Bram Moolenaar56c860c2019-08-17 20:09:31 +020087
Bram Moolenaarc32599f2008-06-25 01:05:34 +000088tutor.sv.utf-8: tutor.sv
Restorer91155eb2024-01-22 22:25:43 +030089 iconv -f ISO-8859-1 -t UTF-8 $< >$@
Bram Moolenaarf2330482008-06-24 20:19:36 +000090
Bram Moolenaarc32599f2008-06-25 01:05:34 +000091tutor.zh.utf-8: tutor.zh.big5
Restorer91155eb2024-01-22 22:25:43 +030092 iconv -f BIG-5 -t UTF-8 $< >$@
93
94clean:
95 for G in $(CONVERTED); do if [ -f $$G ]; then rm -f $$G; fi; done