blob: d19c9af0529990be7237c7c977d00f016ca38806 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
CURL = curl
UNZIP = unzip
all: jmdict.dict.sql
jmdict.zip:
$(CURL) -Ls 'https://github.com/scriptin/jmdict-simplified/releases/download/3.5.0%2B20230619121907/jmdict-all-3.5.0+20230619121907.json.zip' > $@
jmdict.json: jmdict.zip
$(UNZIP) -p $< > $@
jmdict.dict.sql: jmdict.json jmdict.ts
deno run -A --unstable ./jmdict.ts < $< > $@
|