ruby-changes:36117
From: nobu <ko1@a...>
Date: Thu, 30 Oct 2014 23:59:16 +0900 (JST)
Subject: [ruby-changes:36117] nobu:r48198 (trunk): common.mk: separate updates
nobu 2014-10-30 23:58:57 +0900 (Thu, 30 Oct 2014) New Revision: 48198 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48198 Log: common.mk: separate updates * common.mk (UPDATE_LIBRARIES): separate autogenerated library script from downloaded data files. Modified files: trunk/common.mk Index: common.mk =================================================================== --- common.mk (revision 48197) +++ common.mk (revision 48198) @@ -185,7 +185,7 @@ configure-ext: $(EXTS_MK) https://github.com/ruby/ruby/blob/trunk/common.mk#L185 build-ext: $(EXTS_MK) $(Q)$(MAKE) -f $(EXTS_MK) $(MFLAGS) libdir="$(libdir)" LIBRUBY_EXTS=$(LIBRUBY_EXTS) \ - ENCOBJS="$(ENCOBJS)" ALWAYS_UPDATE_UNICODE=no $(EXTSTATIC) + ENCOBJS="$(ENCOBJS)" UPDATE_LIBRARIES=no $(EXTSTATIC) prog: program wprogram @@ -1101,6 +1101,8 @@ update-gems: PHONY https://github.com/ruby/ruby/blob/trunk/common.mk#L1101 -e 'Downloader::RubyGems.download(gem)' \ bundled_gems +UPDATE_LIBRARIES = yes + ### set the following environment variable or uncomment the line if ### the Unicode data files are updated every minute. # ALWAYS_UPDATE_UNICODE = yes @@ -1114,13 +1116,13 @@ $(UNICODE_FILES): ./.unicode-$(UNICODE_V https://github.com/ruby/ruby/blob/trunk/common.mk#L1116 UPDATE_UNICODE_FILES_DEPS = $(ALWAYS_UPDATE_UNICODE:yes=PHONY) -./.unicode-tables.time: ./.unicode-$(UNICODE_VERSION).time +$(UPDATE_LIBRARIES:yes=.)/.unicode-tables.time: $(UNICODE_FILES) ./.unicode-$(UNICODE_VERSION).time: $(UPDATE_UNICODE_FILES_DEPS:no=) $(ECHO) Downloading Unicode $(UNICODE_VERSION) data files... $(Q) $(MAKEDIRS) "$(srcdir)/enc/unicode/data/$(UNICODE_VERSION)" $(Q) $(BASERUBY) -C "$(srcdir)" tool/downloader.rb \ -d enc/unicode/data/$(UNICODE_VERSION) \ - -e $($(ALWAYS_UPDATE_UNICODE:yes=-a):no=) unicode \ + -e $(ALWAYS_UPDATE_UNICODE:yes=-a) unicode \ $(UNICODE_VERSION)/ucd/UnicodeData.txt \ $(UNICODE_VERSION)/ucd/CompositionExclusions.txt \ $(UNICODE_VERSION)/ucd/NormalizationTest.txt @@ -1129,7 +1131,7 @@ UPDATE_UNICODE_FILES_DEPS = $(ALWAYS_UPD https://github.com/ruby/ruby/blob/trunk/common.mk#L1131 $(srcdir)/lib/unicode_normalize/tables.rb: ./.unicode-tables.time ./.unicode-tables.time: $(srcdir)/tool/generic_erb.rb \ - $(srcdir)/template/unicode_norm_gen.tmpl $(UNICODE_FILES) + $(srcdir)/template/unicode_norm_gen.tmpl $(Q) $(BASERUBY) $(srcdir)/tool/generic_erb.rb \ -c -t$@ -o $(srcdir)/lib/unicode_normalize/tables.rb \ -I $(srcdir) \ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/