[前][次][番号順一覧][スレッド一覧]

ruby-changes:41559

From: duerst <ko1@a...>
Date: Sat, 23 Jan 2016 18:32:00 +0900 (JST)
Subject: [ruby-changes:41559] duerst:r53633 (trunk):

duerst	2016-01-23 18:32:44 +0900 (Sat, 23 Jan 2016)

  New Revision: 53633

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53633

  Log:


  Modified files:
    trunk/ChangeLog
    trunk/common.mk
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 53632)
+++ ChangeLog	(revision 53633)
@@ -1,5 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
 Sat Jan 23 16:29:42 2016  Martin Duerst  <duerst@i...>
 
+	* common.mk: Simplifying Unicode data file download logic to make
+	  it more reliable
+
+Sat Jan 23 16:29:42 2016  Martin Duerst  <duerst@i...>
+
 	* tool/downloader.rb: Fixed a logical error, improved documentation
 
 Sat Jan 23 11:42:43 2016  Peter Suschlik  <ps@n...>
Index: common.mk
===================================================================
--- common.mk	(revision 53632)
+++ common.mk	(revision 53633)
@@ -1005,7 +1005,7 @@ extract-gems: PHONY https://github.com/ruby/ruby/blob/trunk/common.mk#L1005
 	    bundled_gems
 
 ### set the following environment variable or uncomment the line if
-### the Unicode data files are updated every minute.
+### the Unicode data files should be updated completely on every update ('make up',...).
 # ALWAYS_UPDATE_UNICODE = yes
 
 UNICODE_FILES = $(srcdir)/enc/unicode/data/$(UNICODE_VERSION)/UnicodeData.txt \
@@ -1013,11 +1013,9 @@ UNICODE_FILES = $(srcdir)/enc/unicode/da https://github.com/ruby/ruby/blob/trunk/common.mk#L1013
 		$(srcdir)/enc/unicode/data/$(UNICODE_VERSION)/NormalizationTest.txt \
 		$(srcdir)/enc/unicode/data/$(UNICODE_VERSION)/CaseFolding.txt
 
-UNICODE_FILES_DEPS = $(srcdir)/.unicode-$(UNICODE_VERSION).time
+update-unicode: $(UNICODE_FILES)
 
-update-unicode: $(srcdir)/.unicode-$(UNICODE_VERSION).time PHONY
-
-$(UNICODE_FILES_DEPS):
+$(UNICODE_FILES):
 	$(ECHO) Downloading Unicode $(UNICODE_VERSION) data files...
 	$(Q) $(MAKEDIRS) "$(srcdir)/enc/unicode/data/$(UNICODE_VERSION)"
 	$(Q) $(BASERUBY) -C "$(srcdir)" tool/downloader.rb \
@@ -1025,7 +1023,6 @@ $(UNICODE_FILES_DEPS): https://github.com/ruby/ruby/blob/trunk/common.mk#L1023
 	    -p $(UNICODE_VERSION)/ucd \
 	    -e $(ALWAYS_UPDATE_UNICODE:yes=-a) unicode \
 	    $(UNICODE_FILES)
-	@exit > $@
 
 $(srcdir)/$(HAVE_BASERUBY:yes=lib/unicode_normalize/tables.rb): \
 	$(srcdir)/.unicode-tables.time

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]