diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-06-22 13:02:28 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-06-22 13:02:28 +0000 |
commit | e7a8335d18f7e582850b126a2f4f972727650512 (patch) | |
tree | 86ea14522a3871b939cbe5073df43bc918566566 | |
parent | 22d43f674f73b7333af7dfe231ee6d01777ec0fe (diff) | |
download | ruby-e7a8335d18f7e582850b126a2f4f972727650512.tar.gz |
casefold.h dependency
* common.mk (enc/unicode/casefold.h): add dependency and update by
incs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | common.mk | 9 |
2 files changed, 11 insertions, 3 deletions
@@ -1,4 +1,7 @@ -Wed Jun 22 17:29:23 2016 Nobuyoshi Nakada <nobu@ruby-lang.org> +Wed Jun 22 22:02:26 2016 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * common.mk (enc/unicode/casefold.h): add dependency and update by + incs. * common.mk (lib/unicode_normalize/tables.rb): should not depend on Unicode data files unless ALWAYS_UPDATE_UNICODE=yes, to get @@ -807,6 +807,7 @@ all-incs: incs {$(VPATH)}encdb.h {$(VPATH)}transdb.h incs: $(INSNS) {$(VPATH)}node_name.inc {$(VPATH)}known_errors.inc \ {$(VPATH)}vm_call_iseq_optimized.inc $(srcdir)/revision.h \ $(REVISION_H) enc/unicode/name2ctype.h enc/jis/props.h \ + $(srcdir)/enc/unicode/casefold.h \ {$(VPATH)}id.h {$(VPATH)}probes.dmyh insns: $(INSNS) @@ -1065,12 +1066,16 @@ $(srcdir)/.unicode-tables.time: $(srcdir)/tool/generic_erb.rb \ # the next non-comment line was: # $(srcdir)/enc/unicode/casefold.h: $(srcdir)/enc/unicode/case-folding.rb \ # but was changed to make sure CI works on systems that don't have gperf -unicode-up: $(srcdir)/enc/unicode/case-folding.rb \ +unicode-up: $(srcdir)/enc/unicode/casefold.h + +$(srcdir)/$(ALWAYS_UPDATE_UNICODE:yes=enc/unicode/casefold.h): \ $(UNICODE_SRC_DATA_DIR)/UnicodeData.txt \ $(UNICODE_SRC_DATA_DIR)/SpecialCasing.txt \ $(UNICODE_SRC_DATA_DIR)/CaseFolding.txt + +$(srcdir)/enc/unicode/casefold.h: $(srcdir)/enc/unicode/case-folding.rb $(Q) $(BASERUBY) $(srcdir)/enc/unicode/case-folding.rb \ - --output-file=$(srcdir)/enc/unicode/casefold.h \ + --output-file=$@ \ --mapping-data-directory=$(UNICODE_SRC_DATA_DIR) download-extlibs: |