From 0d22740b0de2636307cb95c928b244263ed17caa Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 26 Jun 2019 00:09:20 +0100 Subject: Build with core netsurf buildsystem --- data/Makefile | 59 ----------------------------------------------------------- 1 file changed, 59 deletions(-) delete mode 100644 data/Makefile (limited to 'data') diff --git a/data/Makefile b/data/Makefile deleted file mode 100644 index fc420e3..0000000 --- a/data/Makefile +++ /dev/null @@ -1,59 +0,0 @@ -# Unicode data generation rules. Except for the test data files, most -# users will not use these Makefile rules, which are primarily to re-generate -# unicode_data.c when we get a new Unicode version or charwidth data; they -# require ruby and julia to be installed. - -# programs -CURL=curl -RUBY=ruby -PERL=perl -MAKE=make -JULIA=julia -CURLFLAGS = --retry 5 --location - -.PHONY: clean - -.DELETE_ON_ERROR: - -utf8proc_data.c.new: data_generator.rb UnicodeData.txt GraphemeBreakProperty.txt DerivedCoreProperties.txt CompositionExclusions.txt CaseFolding.txt CharWidths.txt emoji-data.txt - $(RUBY) data_generator.rb < UnicodeData.txt > $@ - -CharWidths.txt: charwidths.jl EastAsianWidth.txt - $(JULIA) charwidths.jl > $@ - -# Unicode data version (must also update utf8proc_unicode_version function) -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 - -EastAsianWidth.txt: - $(CURL) $(CURLFLAGS) -o $@ -O $(URLCACHE)http://www.unicode.org/Public/$(UNICODE_VERSION)/ucd/EastAsianWidth.txt - -GraphemeBreakProperty.txt: - $(CURL) $(CURLFLAGS) -o $@ -O $(URLCACHE)http://www.unicode.org/Public/$(UNICODE_VERSION)/ucd/auxiliary/GraphemeBreakProperty.txt - -DerivedCoreProperties.txt: - $(CURL) $(CURLFLAGS) -o $@ -O $(URLCACHE)http://www.unicode.org/Public/$(UNICODE_VERSION)/ucd/DerivedCoreProperties.txt - -CompositionExclusions.txt: - $(CURL) $(CURLFLAGS) -o $@ -O $(URLCACHE)http://www.unicode.org/Public/$(UNICODE_VERSION)/ucd/CompositionExclusions.txt - -CaseFolding.txt: - $(CURL) $(CURLFLAGS) -o $@ -O $(URLCACHE)http://www.unicode.org/Public/$(UNICODE_VERSION)/ucd/CaseFolding.txt - -NormalizationTest.txt: - $(CURL) $(CURLFLAGS) -o $@ -O $(URLCACHE)http://www.unicode.org/Public/$(UNICODE_VERSION)/ucd/NormalizationTest.txt - -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/$(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 - rm -f utf8proc_data.c.new -- cgit v1.2.3