diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-10-25 07:20:15 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-10-25 07:20:15 +0000 |
commit | 9b581e0d0b41dccc8c15400f05ca5c763c6c41b9 (patch) | |
tree | a1f22b735e7cf00ff41d3acf463e66513e749dd2 /common.mk | |
parent | 67a19e7a59dccbc00daed2970350a20124926afb (diff) |
template/unicode_norm_gen.tmpl: from tool/unicode_norm_gen.rb
* template/unicode_norm_gen.tmpl: use generic_erb.rb to update if
changed and manage timestamp, so that source tree on read-only
filesystem works.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -1120,10 +1120,14 @@ UPDATE_UNICODE_FILES_DEPS = $(ALWAYS_UPDATE_UNICODE:yes=PHONY) UnicodeData.txt CompositionExclusions.txt NormalizationTest.txt @exit > .update-unicode.time -$(srcdir)/lib/unicode_normalize/tables.rb: \ - $(srcdir)/tool/unicode_norm_gen.rb $(UNICODE_FILES) - $(BASERUBY) -s -C "$(srcdir)" tool/unicode_norm_gen.rb \ - -input=enc/unicode/data -ouput=lib/unicode_normalize +$(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) + $(Q) $(BASERUBY) $(srcdir)/tool/generic_erb.rb \ + -c -t$@ -o $(srcdir)/lib/unicode_normalize/tables.rb \ + -I $(srcdir) \ + $(srcdir)/template/unicode_norm_gen.tmpl enc/unicode/data lib/unicode_normalize info: info-program info-libruby_a info-libruby_so info-arch info-program: PHONY |