Skip to content

Commit

Permalink
Fix Makefile VERSION var and download url
Browse files Browse the repository at this point in the history
  • Loading branch information
felixonmars committed May 30, 2020
1 parent e2e589e commit 1d193c7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FILENAME=zhwiki-20200501-all-titles-in-ns0
VERSION=20200520
FILENAME=zhwiki-$(VERSION)-all-titles-in-ns0

all: build

Expand All @@ -7,7 +8,7 @@ build: zhwiki.dict
download: $(FILENAME).gz

$(FILENAME).gz:
wget https://dumps.wikimedia.org/zhwiki/20200501/$(FILENAME).gz
wget https://dumps.wikimedia.org/zhwiki/$(VERSION)/$(FILENAME).gz

web-slang.source:
./zhwiki-web-slang.py > web-slang.source
Expand Down

0 comments on commit 1d193c7

Please sign in to comment.