summaryrefslogtreecommitdiff
path: root/data/Makefile
diff options
context:
space:
mode:
authorGOTOH Shunsuke <antimon2.me@gmail.com>2019-05-11 10:12:45 +0900
committerSteven G. Johnson <stevenj@mit.edu>2019-05-10 21:12:45 -0400
commit7b28b9e60c1098ba532982db3621a17ef0a9b520 (patch)
tree66051deabd4e8e0584d5b503db56c2de1242dfee /data/Makefile
parent5d902fa1aafef1e8da3f172bc7b1415af32c3c8b (diff)
downloadlibutf8proc-7b28b9e60c1098ba532982db3621a17ef0a9b520.tar.gz
libutf8proc-7b28b9e60c1098ba532982db3621a17ef0a9b520.tar.bz2
update for unicode 12.1 (#156)
Diffstat (limited to 'data/Makefile')
-rw-r--r--data/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/data/Makefile b/data/Makefile
index f5d1dd9..fc420e3 100644
--- a/data/Makefile
+++ b/data/Makefile
@@ -22,7 +22,10 @@ CharWidths.txt: charwidths.jl EastAsianWidth.txt
$(JULIA) charwidths.jl > $@
# Unicode data version (must also update utf8proc_unicode_version function)
-UNICODE_VERSION=12.0.0
+UNICODE_VERSION=12.1.0
+
+# Unicode emoji version (managed separately from UNICODE_VERSION)
+UNICODE_EMOJI_VERSION=12.0
UnicodeData.txt:
$(CURL) $(CURLFLAGS) -o $@ -O http://www.unicode.org/Public/$(UNICODE_VERSION)/ucd/UnicodeData.txt
@@ -49,7 +52,7 @@ GraphemeBreakTest.txt:
$(CURL) $(CURLFLAGS) $(URLCACHE)http://www.unicode.org/Public/$(UNICODE_VERSION)/ucd/auxiliary/GraphemeBreakTest.txt | $(PERL) -pe 's,÷,/,g;s,×,+,g' > $@
emoji-data.txt:
- $(CURL) $(CURLFLAGS) -o $@ -O $(URLCACHE)http://unicode.org/Public/emoji/`echo $(UNICODE_VERSION) | cut -d. -f1-2`/emoji-data.txt
+ $(CURL) $(CURLFLAGS) -o $@ -O $(URLCACHE)http://unicode.org/Public/emoji/$(UNICODE_EMOJI_VERSION)/emoji-data.txt
clean:
rm -f UnicodeData.txt EastAsianWidth.txt GraphemeBreakProperty.txt DerivedCoreProperties.txt CompositionExclusions.txt CaseFolding.txt NormalizationTest.txt GraphemeBreakTest.txt CharWidths.txt emoji-data.txt