kanjidic.mk
1 | KANJIDIC_LANGS=en es fr pt |
2 | KANJIDIC_MODULES=tools/kanjidic.scm |
3 | DICOS+=$(addprefix dicos/kanjidic_, $(addsuffix .nani, $(KANJIDIC_LANGS))) |
4 | DOWNLOADS+=dictionaries/kanjidic2.xml |
5 | |
6 | dictionaries/kanjidic2.xml: |
7 | wget http://www.edrdg.org/kanjidic/kanjidic2.xml.gz -O $@.gz |
8 | gunzip $@.gz |
9 | |
10 | dicos/kanjidic_%.nani: dictionaries/kanjidic2.xml tools/kanjidic.scm $(RADK_MODULES) |
11 | guile -L modules tools/kanjidic.scm build $< $(shell basename $@ .nani | sed 's|^kanjidic_||g') $@ |
12 |