Remove make import parameter

main
Elnu 1 year ago
parent 1792926dfd
commit 9a8bd1b541

@ -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…
Cancel
Save