diff options
author | duerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-07 02:16:12 +0000 |
---|---|---|
committer | duerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-07 02:16:12 +0000 |
commit | ee696372a8840135c06e5605cf90593ff672b522 (patch) | |
tree | 7f96f7b75aa7f8f124666cf19774c45c09875ec1 | |
parent | 1e7770d372486af5b67e6964e1ce9139d651cf46 (diff) | |
download | ruby-ee696372a8840135c06e5605cf90593ff672b522.tar.gz |
* common.mk: using new option in recipe for enc/unicode/casefold.h
* enc/unicode/case-folding.rb: Correctly specify argument to new option.
(with Kimihito Matsui)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | common.mk | 2 | ||||
-rwxr-xr-x | enc/unicode/case-folding.rb | 2 |
3 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,10 @@ +Sun Feb 7 11:16:00 2016 Martin Duerst <duerst@it.aoyama.ac.jp> + + * common.mk: using new option in recipe for enc/unicode/casefold.h + + * enc/unicode/case-folding.rb: Correctly specify argument to new option. + (with Kimihito Matsui) + Sun Feb 7 10:43:27 2016 Martin Duerst <duerst@it.aoyama.ac.jp> (this commit message applies to the previous commit) @@ -1051,7 +1051,7 @@ $(srcdir)/enc/unicode/casefold.h: $(srcdir)/enc/unicode/case-folding.rb \ $(UNICODE_SRC_DATA_DIR)/CaseFolding.txt $(Q) $(BASERUBY) $(srcdir)/enc/unicode/case-folding.rb \ --output-file=$(srcdir)/enc/unicode/casefold.h \ - $(UNICODE_SRC_DATA_DIR)/CaseFolding.txt + --mapping-data-directory=$(UNICODE_SRC_DATA_DIR) download-extlibs: $(Q) $(BASERUBY) -C $(srcdir) -w tool/extlibs.rb --download ext diff --git a/enc/unicode/case-folding.rb b/enc/unicode/case-folding.rb index a4adfc645c..6f801cca84 100755 --- a/enc/unicode/case-folding.rb +++ b/enc/unicode/case-folding.rb @@ -186,7 +186,7 @@ if $0 == __FILE__ opt.on("--output-file=FILE", "-o", "output to the FILE instead of STDOUT") {|output| dest = (output unless output == '-') } - opt.on('--mapping-data-directory', '-m', 'data directory of mapping files') { |directory| + opt.on('--mapping-data-directory=DIRECTORY', '-m', 'data DIRECTORY of mapping files') { |directory| mapping_directory = directory } opt.parse! |