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.
  • Loading branch information
staticfloat committed Apr 21, 2020
1 parent a9794bc commit c35b0e2
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=13.0.0
$(SRCCACHE)/UnicodeData-$(UNICODE_DATA_VERSION).txt:
@mkdir -p "$(SRCCACHE)"
$(JLDOWNLOAD) "$@" http://www.unicode.org/Public/13.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 c35b0e2

Please sign in to comment.