diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-08-16 12:04:34 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-08-16 12:04:34 +0000 |
commit | a73065074bcd4834465301ce10f2a15773c162c4 (patch) | |
tree | e7553210da25fe7c8d2e9c3560ec54c8e3619213 | |
parent | 16b3e2aa026f39244e46c33a1c6f4b752fee26b3 (diff) | |
download | ruby-a73065074bcd4834465301ce10f2a15773c162c4.tar.gz |
common.mk: separate unicode headers
* common.mk (UNICODE_HDR_DIR): separate unicode header files from
unicode data files. [ruby-core:76879] [Bug #12677]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | common.mk | 2 | ||||
-rw-r--r-- | enc/unicode/8.0.0/casefold.h (renamed from enc/unicode/data/8.0.0/casefold.h) | 0 | ||||
-rw-r--r-- | enc/unicode/8.0.0/name2ctype.h (renamed from enc/unicode/data/8.0.0/name2ctype.h) | 0 | ||||
-rwxr-xr-x | tool/make-snapshot | 7 |
5 files changed, 6 insertions, 8 deletions
@@ -1,3 +1,8 @@ +Tue Aug 16 21:04:30 2016 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * common.mk (UNICODE_HDR_DIR): separate unicode header files from + unicode data files. [ruby-core:76879] [Bug #12677] + Tue Aug 16 11:17:51 2016 Koichi ITO <koic.ito@gmail.com> * lib/net/http/header.rb: Fix typo. [ci skip][fix GH-1407] @@ -18,7 +18,7 @@ UNICODE_VERSION = 8.0.0 # ALWAYS_UPDATE_UNICODE = yes UNICODE_DATA_DIR = enc/unicode/data/$(UNICODE_VERSION) UNICODE_SRC_DATA_DIR = $(srcdir)/$(UNICODE_DATA_DIR) -UNICODE_HDR_DIR = $(UNICODE_SRC_DATA_DIR) +UNICODE_HDR_DIR = $(srcdir)/enc/unicode/$(UNICODE_VERSION) UNICODE_DATA_HEADERS = \ $(UNICODE_HDR_DIR)/casefold.h \ $(UNICODE_HDR_DIR)/name2ctype.h \ diff --git a/enc/unicode/data/8.0.0/casefold.h b/enc/unicode/8.0.0/casefold.h index 1d743e4bc3..1d743e4bc3 100644 --- a/enc/unicode/data/8.0.0/casefold.h +++ b/enc/unicode/8.0.0/casefold.h diff --git a/enc/unicode/data/8.0.0/name2ctype.h b/enc/unicode/8.0.0/name2ctype.h index d27c544a8f..d27c544a8f 100644 --- a/enc/unicode/data/8.0.0/name2ctype.h +++ b/enc/unicode/8.0.0/name2ctype.h diff --git a/tool/make-snapshot b/tool/make-snapshot index 36a83ad658..73278a34bc 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -326,10 +326,6 @@ update-gems: f.puts mk end system("make", "prereq", *args.map {|arg| arg.join("=")}) - Dir.glob("enc/unicode/data/*/*.h") do |f| - FileUtils::Verbose.mkpath("."+File.dirname(f[12..-1])) - FileUtils::Verbose.mv(f, "."+f[12..-1]) - end clean.push("rbconfig.rb", ".rbconfig.time", "enc.mk") print "prerequisites" else @@ -338,9 +334,6 @@ update-gems: vcs.after_export(".") if exported FileUtils.rm_rf(clean) unless $keep_temp FileUtils.rm_rf(".downloaded-cache") - if File.directory?(".data") - FileUtils.mv(".data", "enc/unicode/data") - end if File.exist?("gems/bundled_gems") gems = Dir.glob("gems/*.gem") gems -= File.readlines("gems/bundled_gems").map {|line| |