radicals.mk
1 | RADK_MODULES=tools/radk.scm |
2 | DICOS+=dicos/radicals.nani |
3 | DOWNLOADS+=dictionaries/radkfilex.utf8 |
4 | |
5 | dictionaries/radkfilex.utf8: |
6 | #wget ftp://ftp.monash.edu/pub/nihongo/kradzip.zip -O dictionaries/kradzip.zip |
7 | wget http://ftp.usf.edu/pub/ftp.monash.edu.au/pub/nihongo/kradzip.zip -O dictionaries/kradzip.zip |
8 | unzip dictionaries/kradzip.zip radkfilex -d dictionaries |
9 | iconv -f euc-jp -t utf-8 dictionaries/radkfilex > $@ |
10 | rm dictionaries/radkfilex |
11 | |
12 | dicos/radicals.nani: tools/radk.scm dictionaries/radkfilex.utf8 dictionaries/kanjidic2.xml $(RADK_MODULES) |
13 | guile -L modules tools/radk.scm build dictionaries/radkfilex.utf8 dictionaries/kanjidic2.xml $@ |
14 |