ruby-changes:54505
From: duerst <ko1@a...>
Date: Sat, 5 Jan 2019 18:47:59 +0900 (JST)
Subject: [ruby-changes:54505] duerst:r66720 (trunk): separate downloading of Unicode property files and auxiliary files
duerst 2019-01-05 18:47:55 +0900 (Sat, 05 Jan 2019) New Revision: 66720 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66720 Log: separate downloading of Unicode property files and auxiliary files Separate downloading of Unicode property files in ucd and in ucd/auxiliary. This is needed because we need information from separate index.html files to discover the exact file names of property files during a beta period. Modified files: trunk/common.mk Index: common.mk =================================================================== --- common.mk (revision 66719) +++ common.mk (revision 66720) @@ -1301,6 +1301,9 @@ UNICODE_PROPERTY_FILES = \ https://github.com/ruby/ruby/blob/trunk/common.mk#L1301 $(UNICODE_SRC_DATA_DIR)/PropertyAliases.txt \ $(UNICODE_SRC_DATA_DIR)/PropertyValueAliases.txt \ $(UNICODE_SRC_DATA_DIR)/Scripts.txt \ + $(empty) + +UNICODE_AUXILIARY_FILES = \ $(UNICODE_SRC_DATA_DIR)/auxiliary/GraphemeBreakProperty.txt \ $(UNICODE_SRC_DATA_DIR)/auxiliary/GraphemeBreakTest.txt \ $(empty) @@ -1323,6 +1326,13 @@ UNICODE_DOWNLOAD = \ https://github.com/ruby/ruby/blob/trunk/common.mk#L1326 -d $(UNICODE_SRC_DATA_DIR) \ -p $(UNICODE_VERSION)/ucd \ -e $(ALWAYS_UPDATE_UNICODE:yes=-a) unicode +UNICODE_AUXILIARY_DOWNLOAD = \ + $(BASERUBY) $(srcdir)/tool/downloader.rb \ + --cache-dir=$(CACHE_DIR) \ + --unicode-beta $(UNICODE_BETA) \ + -d $(UNICODE_SRC_DATA_DIR)/auxiliary \ + -p $(UNICODE_VERSION)/ucd/auxiliary \ + -e $(ALWAYS_UPDATE_UNICODE:yes=-a) unicode UNICODE_EMOJI_DOWNLOAD = \ $(BASERUBY) $(srcdir)/tool/downloader.rb \ --cache-dir=$(CACHE_DIR) \ @@ -1334,8 +1344,10 @@ UNICODE_EMOJI_DOWNLOAD = \ https://github.com/ruby/ruby/blob/trunk/common.mk#L1344 $(UNICODE_PROPERTY_FILES): update-unicode-property-files update-unicode-property-files: $(ECHO) Downloading Unicode $(UNICODE_VERSION) property files... - $(Q) $(MAKEDIRS) "$(UNICODE_SRC_DATA_DIR)/auxiliary" $(Q) $(UNICODE_DOWNLOAD) $(UNICODE_PROPERTY_FILES) + $(ECHO) Downloading Unicode $(UNICODE_VERSION) auxiliary files... + $(Q) $(MAKEDIRS) "$(UNICODE_SRC_DATA_DIR)/auxiliary" + $(Q) $(UNICODE_AUXILIARY_DOWNLOAD) $(UNICODE_AUXILIARY_FILES) $(ECHO) Downloading Unicode emoji $(UNICODE_EMOJI_VERSION) files... $(Q) $(MAKEDIRS) "$(UNICODE_SRC_EMOJI_DATA_DIR)" $(Q) $(UNICODE_EMOJI_DOWNLOAD) $(UNICODE_EMOJI_FILES) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/