aboutsummaryrefslogtreecommitdiffstats
path: root/common.mk
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-06-22 13:02:28 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-06-22 13:02:28 +0000
commite7a8335d18f7e582850b126a2f4f972727650512 (patch)
tree86ea14522a3871b939cbe5073df43bc918566566 /common.mk
parent22d43f674f73b7333af7dfe231ee6d01777ec0fe (diff)
downloadruby-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
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/common.mk b/common.mk
index 9115dec813..f8afcc2d38 100644
--- a/common.mk
+++ b/common.mk
@@ -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: