summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authorduerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-28 02:14:16 +0000
committerduerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-28 02:14:16 +0000
commit69cbd810faa7556dca3f1a9a32da752a34880102 (patch)
tree71cd2f9c21e90d6a46f9f7b02da37a41424e1bf8 /common.mk
parent4d2aef1e4502aa7f97e4b3dc2d7f8bac3e95fa4b (diff)
common.mk: Created new target update-unicode to download
some Unicode data files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index 2c21bb715f..158f9ec3ed 100644
--- a/common.mk
+++ b/common.mk
@@ -1089,6 +1089,13 @@ update-gems: PHONY
-e 'Downloader.download(:rubygems, gem, $$gemdir)' \
-- -gemdir=$(srcdir)/gems $(srcdir)/gems/bundled_gems
+update-unicode:
+ $(Q) $(BASERUBY) -I$(srcdir)/tool -rdownloader \
+ -e 'puts "Downloading Unicode data files..."' \
+ -e 'Downloader.download(:unicode, "UnicodeData.txt", "$(srcdir)/enc/unicode/data")' \
+ -e 'Downloader.download(:unicode, "CompositionExclusions.txt", "$(srcdir)/enc/unicode/data")' \
+ -e 'Downloader.download(:unicode, "NormalizationTest.txt", "$(srcdir)/enc/unicode/data")'
+
info: info-program info-libruby_a info-libruby_so info-arch
info-program:
@echo PROGRAM=$(PROGRAM)