* instruby.rb (ext-comm): make header directory first.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2007-06-10 07:55:49 +00:00
parent 4d2421d58b
commit 5dc9bf105a
2 changed files with 8 additions and 5 deletions

View File

@ -1,8 +1,10 @@
Sun Jun 10 16:36:22 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
Sun Jun 10 16:57:20 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
* instruby.rb (install_recursive): add :glob option rather than
using FNM_DOTMACH.
* instruby.rb (ext-comm): make header directory first.
Sun Jun 10 16:10:58 2007 NAKAMURA Usaku <usa@ruby-lang.org>
* test/ruby/test_beginendblock.rb: typo.

View File

@ -184,7 +184,7 @@ arc = CONFIG["LIBRUBY_A"]
install?(:local, :arch, :bin) do
puts "installing binary commands"
makedirs [bindir, libdir, archlibdir, archhdrdir]
makedirs [bindir, libdir, archlibdir]
install ruby_install_name+exeext, bindir, :mode => 0755
if rubyw_install_name and !rubyw_install_name.empty?
@ -213,7 +213,7 @@ if $extout
extout = "#$extout"
install?(:ext, :arch, :'ext-arch') do
puts "installing extension objects"
makedirs [archlibdir, sitearchlibdir]
makedirs [archlibdir, sitearchlibdir, archhdrdir]
if noinst = CONFIG["no_install_files"] and noinst.empty?
noinst = nil
end
@ -222,9 +222,10 @@ if $extout
end
install?(:ext, :comm, :'ext-comm') do
puts "installing extension scripts"
makedirs [rubylibdir, sitelibdir]
hdrdir = rubyhdrdir + "/ruby"
makedirs [rubylibdir, sitelibdir, hdrdir]
install_recursive("#{extout}/common", rubylibdir)
install_recursive("#{extout}/include/ruby", rubyhdrdir + "/ruby", :glob => "*.h")
install_recursive("#{extout}/include/ruby", hdrdir, :glob => "*.h")
end
end