ruby-changes:46004
From: nobu <ko1@a...>
Date: Fri, 24 Mar 2017 13:37:33 +0900 (JST)
Subject: [ruby-changes:46004] nobu:r58075 (trunk): Do not update Unicode headers
nobu 2017-03-24 13:37:28 +0900 (Fri, 24 Mar 2017) New Revision: 58075 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58075 Log: Do not update Unicode headers * common.mk (name2ctype.h, casefold.h): use as checked out unless ALWAYS_UPDATE_UNICODE=yes. Modified files: trunk/common.mk Index: common.mk =================================================================== --- common.mk (revision 58074) +++ common.mk (revision 58075) @@ -1173,11 +1173,11 @@ $(UNICODE_SRC_DATA_DIR): https://github.com/ruby/ruby/blob/trunk/common.mk#L1173 $(Q) $(exec) $(MAKEDIRS) $@ || exit && echo $(MAKE) $(UNICODE_HDR_DIR)/$(ALWAYS_UPDATE_UNICODE:yes=name2ctype.h): \ + $(srcdir)/tool/enc-unicode.rb \ $(UNICODE_SRC_DATA_DIR)/UnicodeData.txt \ $(UNICODE_PROPERTY_FILES) -$(UNICODE_HDR_DIR)/name2ctype.h: $(srcdir)/tool/enc-unicode.rb \ - $(ALWAYS_UPDATE_UNICODE:yes=update-unicode) +$(UNICODE_HDR_DIR)/name2ctype.h: $(MAKEDIRS) $(@D) $(BOOTSTRAPRUBY) $(srcdir)/tool/enc-unicode.rb --header $(UNICODE_SRC_DATA_DIR) > $@ @@ -1187,12 +1187,12 @@ $(UNICODE_HDR_DIR)/name2ctype.h: $(srcdi https://github.com/ruby/ruby/blob/trunk/common.mk#L1187 unicode-up: $(UNICODE_DATA_HEADERS) $(UNICODE_HDR_DIR)/$(ALWAYS_UPDATE_UNICODE:yes=casefold.h): \ + $(srcdir)/enc/unicode/case-folding.rb \ $(UNICODE_SRC_DATA_DIR)/UnicodeData.txt \ $(UNICODE_SRC_DATA_DIR)/SpecialCasing.txt \ $(UNICODE_SRC_DATA_DIR)/CaseFolding.txt -$(UNICODE_HDR_DIR)/casefold.h: $(srcdir)/enc/unicode/case-folding.rb \ - $(ALWAYS_UPDATE_UNICODE:yes=update-unicode) +$(UNICODE_HDR_DIR)/casefold.h: $(MAKEDIRS) $(@D) $(Q) $(BASERUBY) $(srcdir)/enc/unicode/case-folding.rb \ --output-file=$@ \ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/