summaryrefslogtreecommitdiff
path: root/tool/rbinstall.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-27 08:17:43 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-27 08:17:43 +0000
commit4d2aef1e4502aa7f97e4b3dc2d7f8bac3e95fa4b (patch)
treed3e50003b543460c04ddef4dedd19ecb200e9f91 /tool/rbinstall.rb
parenta4645e56126cc8807fa66d1078d63447510623cf (diff)
rbinstall.rb: header targets
* tool/rbinstall.rb: separate header targets, comm-hdr for architecture independent headers, arch-hdr for architecture dependent headers, and hdr for both. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/rbinstall.rb')
-rwxr-xr-xtool/rbinstall.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb
index 8776bcd..e21c811 100755
--- a/tool/rbinstall.rb
+++ b/tool/rbinstall.rb
@@ -378,7 +378,7 @@ install?(:ext, :arch, :'ext-arch') do
prepare "extension objects", sitearchlibdir
prepare "extension objects", vendorarchlibdir
end
-install?(:ext, :arch, :'ext-arch') do
+install?(:ext, :arch, :hdr, :'arch-hdr') do
prepare "extension headers", archhdrdir
install_recursive("#{$extout}/include/#{CONFIG['arch']}", archhdrdir, :glob => "*.h", :mode => $data_mode)
end
@@ -388,7 +388,7 @@ install?(:ext, :comm, :'ext-comm') do
prepare "extension scripts", sitelibdir
prepare "extension scripts", vendorlibdir
end
-install?(:ext, :comm, :'ext-comm') do
+install?(:ext, :comm, :hdr, :'comm-hdr') do
hdrdir = rubyhdrdir + "/ruby"
prepare "extension headers", hdrdir
install_recursive("#{$extout}/include/ruby", hdrdir, :glob => "*.h", :mode => $data_mode)
@@ -508,7 +508,7 @@ install?(:local, :comm, :lib) do
install_recursive(File.join(srcdir, "lib"), rubylibdir, :no_install => noinst, :mode => $data_mode)
end
-install?(:local, :arch, :lib) do
+install?(:local, :comm, :hdr, :'comm-hdr') do
prepare "common headers", rubyhdrdir
noinst = []