diff options
Diffstat (limited to 'localedata/unicode-gen/Makefile')
-rw-r--r-- | localedata/unicode-gen/Makefile | 40 |
1 files changed, 21 insertions, 19 deletions
diff --git a/localedata/unicode-gen/Makefile b/localedata/unicode-gen/Makefile index 53efcd3c38..c2b5fa75e1 100644 --- a/localedata/unicode-gen/Makefile +++ b/localedata/unicode-gen/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 2015-2016 Free Software Foundation, Inc. +# Copyright (C) 2015-2018 Free Software Foundation, Inc. # This file is part of the GNU C Library. # The GNU C Library is free software; you can redistribute it and/or @@ -20,7 +20,7 @@ # This Makefile is NOT used as part of the GNU libc build. It needs # to be run manually, within the source tree, at Unicode upgrades -# (change UNICODE_VERSION below), to update ../locales/i18n ctype +# (change UNICODE_VERSION below), to update ../locales/i18n_ctype ctype # information (part of the file is preserved, so don't wipe it all # out), and ../charmaps/UTF-8. @@ -35,21 +35,21 @@ # files for making modifications. -UNICODE_VERSION = 8.0.0 +UNICODE_VERSION = 11.0.0 PYTHON3 = python3 WGET = wget -DOWNLOADS = UnicodeData.txt DerivedCoreProperties.txt EastAsianWidth.txt -GENERATED = i18n tr_TR UTF-8 translit_combining translit_compat translit_circle translit_cjk_compat translit_font translit_fraction -REPORTS = i18n-report UTF-8-report +DOWNLOADS = UnicodeData.txt DerivedCoreProperties.txt EastAsianWidth.txt PropList.txt +GENERATED = i18n_ctype tr_TR UTF-8 translit_combining translit_compat translit_circle translit_cjk_compat translit_font translit_fraction +REPORTS = i18n_ctype-report UTF-8-report all: $(GENERATED) -check: check-i18n check-UTF-8 +check: check-i18n_ctype check-UTF-8 install: - cp -p i18n ../locales/i18n + cp -p i18n_ctype ../locales/i18n_ctype cp -p tr_TR ../locales/tr_TR cp -p UTF-8 ../charmaps/UTF-8 cp -p translit_combining ../locales/translit_combining @@ -66,21 +66,21 @@ mostlyclean: .PHONY: all check clean mostlyclean install -i18n: UnicodeData.txt DerivedCoreProperties.txt -i18n: ../locales/i18n # Preserve non-ctype information. -i18n: gen_unicode_ctype.py +i18n_ctype: UnicodeData.txt DerivedCoreProperties.txt +i18n_ctype: ../locales/i18n_ctype # Preserve non-ctype information. +i18n_ctype: gen_unicode_ctype.py $(PYTHON3) gen_unicode_ctype.py -u UnicodeData.txt \ - -d DerivedCoreProperties.txt -i ../locales/i18n -o $@ \ + -d DerivedCoreProperties.txt -i ../locales/i18n_ctype -o $@ \ --unicode_version $(UNICODE_VERSION) -i18n-report: i18n ../locales/i18n -i18n-report: ctype_compatibility.py ctype_compatibility_test_cases.py - $(PYTHON3) ./ctype_compatibility.py -o ../locales/i18n \ - -n i18n -a -m > $@ +i18n_ctype-report: i18n_ctype ../locales/i18n_ctype +i18n_ctype-report: ctype_compatibility.py ctype_compatibility_test_cases.py + $(PYTHON3) ./ctype_compatibility.py -o ../locales/i18n_ctype \ + -n i18n_ctype -a -m > $@ -check-i18n: i18n-report +check-i18n_ctype: i18n_ctype-report @if grep '\(Missing\|Added\) [^0]\|^Number of errors[^=]* = [^0]' \ - i18n-report; \ + i18n_ctype-report; \ then echo manual verification required; false; else true; fi tr_TR: UnicodeData.txt DerivedCoreProperties.txt @@ -92,7 +92,9 @@ tr_TR: gen_unicode_ctype.py UTF-8: UnicodeData.txt EastAsianWidth.txt UTF-8: utf8_gen.py - $(PYTHON3) utf8_gen.py UnicodeData.txt EastAsianWidth.txt + $(PYTHON3) utf8_gen.py -u UnicodeData.txt \ + -e EastAsianWidth.txt -p PropList.txt \ + --unicode_version $(UNICODE_VERSION) UTF-8-report: UTF-8 ../charmaps/UTF-8 UTF-8-report: utf8_compatibility.py |