diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-10-23 14:58:29 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-10-23 14:58:29 +0000 |
commit | f72c0b5c787df88aedb0270d354e8dca9326ce45 (patch) | |
tree | 597465846e7c2b52c05060ee2f0b589025eb40d0 /common.mk | |
parent | 4a2e67a19a223ca1ac73f1d36f12f187a3f8c976 (diff) | |
download | ruby-f72c0b5c787df88aedb0270d354e8dca9326ce45.tar.gz |
common.mk: timestamp for update-unicode
* common.mk (.update-unicode.time): timestamp not to download same
files twice at one build. [Bug #10415]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -182,7 +182,8 @@ $(EXTS_MK): $(MKFILES) all-incs $(PREP) $(RBCONFIG) $(LIBRUBY) configure-ext: $(EXTS_MK) build-ext: $(EXTS_MK) - $(Q)$(MAKE) -f $(EXTS_MK) $(MFLAGS) libdir="$(libdir)" LIBRUBY_EXTS=$(LIBRUBY_EXTS) ENCOBJS="$(ENCOBJS)" $(EXTSTATIC) + $(Q)$(MAKE) -f $(EXTS_MK) $(MFLAGS) libdir="$(libdir)" LIBRUBY_EXTS=$(LIBRUBY_EXTS) \ + ENCOBJS="$(ENCOBJS)" ALWAYS_UPDATE_UNICODE=no $(EXTSTATIC) prog: program wprogram @@ -1106,14 +1107,18 @@ UNICODE_FILES = $(srcdir)/enc/unicode/data/UnicodeData.txt \ $(srcdir)/enc/unicode/data/CompositionExclusions.txt \ $(srcdir)/enc/unicode/data/NormalizationTest.txt -$(UNICODE_FILES): update-unicode +update-unicode: $(UNICODE_FILES) PHONY +$(UNICODE_FILES): ./.update-unicode.time -update-unicode: PHONY +UPDATE_UNICODE_FILES_DEPS = $(ALWAYS_UPDATE_UNICODE:yes=PHONY) + +./.update-unicode.time: $(UPDATE_UNICODE_FILES_DEPS:no=) $(ECHO) Downloading Unicode data files... $(Q) $(MAKEDIRS) "$(srcdir)/enc/unicode/data" $(Q) $(BASERUBY) -C "$(srcdir)/enc/unicode/data" \ ../../../tool/downloader.rb -e $(ALWAYS_UPDATE_UNICODE:yes=-a) unicode \ UnicodeData.txt CompositionExclusions.txt NormalizationTest.txt + @exit > .update-unicode.time $(srcdir)/lib/unicode_normalize/tables.rb: \ $(srcdir)/tool/unicode_norm_gen.rb $(UNICODE_FILES) |