From 18fd6a0bf0d0100280d7a5b9f19e64be1ee773bc Mon Sep 17 00:00:00 2001 From: Akatsuki Rui <3736910+akiirui@users.noreply.github.com> Date: Thu, 10 Mar 2022 23:36:53 +0800 Subject: [PATCH] Remove duplicate words when build --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 90282e6..b8b4343 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,8 @@ zhwiki.source: $(FILENAME) $(WEB_SLANG_FILE) cat $(FILENAME) $(WEB_SLANG_FILE) > zhwiki.source zhwiki.raw: zhwiki.source - ./convert.py zhwiki.source > zhwiki.raw + ./convert.py zhwiki.source > zhwiki.raw.tmp + sort -u zhwiki.raw.tmp > zhwiki.raw zhwiki.dict: zhwiki.raw libime_pinyindict zhwiki.raw zhwiki.dict