mirror of
https://github.com/ElnuDev/rust-jmdict.git
synced 2025-05-12 01:45:52 -07:00
Remove make import parameter
This commit is contained in:
parent
1792926dfd
commit
9a8bd1b541
1 changed files with 2 additions and 6 deletions
|
@ -1,12 +1,8 @@
|
|||
default:
|
||||
@printf '%s\n' '>> Usage:' ' make import JMDICT_PATH=/path/to/jmdict' ' make export' '>> Refer to README.md for details.'
|
||||
@printf '%s\n' '>> Usage:' ' make import' ' make export' '>> Refer to README.md for details.'
|
||||
|
||||
import:
|
||||
ifeq ($(origin JMDICT_PATH),undefined)
|
||||
@echo "ERROR: Run as \`make import JMDICT_PATH=/path/to/JMdict\`".
|
||||
@false
|
||||
endif
|
||||
go run preprocess-jmdict.go $(JMDICT_PATH)
|
||||
go run preprocess-jmdict.go JMdict*.xml
|
||||
|
||||
EXPORT_FILENAME ?= entrypack-v1-$(shell cat entrypack.json | grep -o 'Creation Date: [0-9-]*' | awk '{print$$3}').json.gz
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue