Merge pull request #9 from JuliaLang/cjh/markdata

Update data tables to Unicode 7.0.0
This commit is contained in:
Steven G. Johnson 2014-07-18 12:12:19 -04:00
commit a5aeb49e20
3 changed files with 11499 additions and 10434 deletions

View File

@ -1,5 +1,7 @@
# libmojibake Makefile # libmojibake Makefile
CURL=curl
RUBY=ruby
# settings # settings
@ -16,8 +18,26 @@ c-library: libmojibake.a libmojibake.so
clean: clean:
rm -f utf8proc.o libmojibake.a libmojibake.so rm -f utf8proc.o libmojibake.a libmojibake.so
update: utf8proc_data.c.new
# real targets # real targets
utf8proc_data.c.new: UnicodeData.txt DerivedCoreProperties.txt CompositionExclusions.txt CaseFolding.txt
$(RUBY) data_generator.rb < UnicodeData.txt > utf8proc_data.c.new
UnicodeData.txt:
$(CURL) -O http://www.unicode.org/Public/UNIDATA/UnicodeData.txt
DerivedCoreProperties.txt:
$(CURL) -O http://www.unicode.org/Public/UNIDATA/DerivedCoreProperties.txt
CompositionExclusions.txt:
$(CURL) -O http://www.unicode.org/Public/UNIDATA/CompositionExclusions.txt
CaseFolding.txt:
$(CURL) -O http://www.unicode.org/Public/UNIDATA/CaseFolding.txt
utf8proc.o: utf8proc.h utf8proc.c utf8proc_data.c utf8proc.o: utf8proc.h utf8proc.c utf8proc_data.c
$(cc) -c -o utf8proc.o utf8proc.c $(cc) -c -o utf8proc.o utf8proc.c

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff