1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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 * instruby.rb (install_recursive): add :glob option rather than
using FNM_DOTMACH. using FNM_DOTMACH.
* instruby.rb (ext-comm): make header directory first.
Sun Jun 10 16:10:58 2007 NAKAMURA Usaku <usa@ruby-lang.org> Sun Jun 10 16:10:58 2007 NAKAMURA Usaku <usa@ruby-lang.org>
* test/ruby/test_beginendblock.rb: typo. * test/ruby/test_beginendblock.rb: typo.

View file

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