From 9a8bd1b54187e4c1fb2ac935f1d6e583c28a7bb1 Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Tue, 25 Jul 2023 10:31:51 -0700 Subject: [PATCH] Remove make import parameter --- data/Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/data/Makefile b/data/Makefile index 854cf08..0e38dac 100644 --- a/data/Makefile +++ b/data/Makefile @@ -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