Skip to content

Commit

Permalink
Version UnicodeData.txt filename (#35383)
Browse files Browse the repository at this point in the history
We've been downloading multiple different versions of `UnicodeData.txt`
across different branches and trying to keep a consistent checksum.

(cherry picked from commit 922891c)
  • Loading branch information
staticfloat authored and KristofferC committed Apr 7, 2020
1 parent 48ee62c commit c53191a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@ help:
DOCUMENTER_OPTIONS := linkcheck=$(linkcheck) doctest=$(doctest) buildroot=$(call cygpath_w,$(BUILDROOT)) \
texplatform=$(texplatform)

$(SRCCACHE)/UnicodeData.txt:
UNICODE_DATA_VERSION=9.0.0
$(SRCCACHE)/UnicodeData-$(UNICODE_DATA_VERSION).txt:
@mkdir -p "$(SRCCACHE)"
$(JLDOWNLOAD) "$@" http://www.unicode.org/Public/9.0.0/ucd/UnicodeData.txt
$(JLDOWNLOAD) "$@" http://www.unicode.org/Public/$(UNICODE_DATA_VERSION)/ucd/UnicodeData.txt

deps: $(SRCCACHE)/UnicodeData.txt
deps: $(SRCCACHE)/UnicodeData-$(UNICODE_DATA_VERSION).txt
$(JLCHECKSUM) "$<"
cp "$<" UnicodeData.txt

Expand Down

0 comments on commit c53191a

Please sign in to comment.