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 | 2708f9dc7dedc1d4659fe0497d77815477815227 (patch) | |
tree | 86ea14522a3871b939cbe5073df43bc918566566 /common.mk | |
parent | bf2ddb573fc79d46d607464ac8e05582d32625ae (diff) | |
download | ruby-2708f9dc7dedc1d4659fe0497d77815477815227.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
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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: |