summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-10 07:55:49 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-10 07:55:49 +0000
commit87a1f0bc830096f5483a8e8112527fe3b3095a4b (patch)
treea94a5daefcf5f088d4f88cad52f57c11edd195af
parent595b2fc124fbc02ebe8d16a071bd3fb51e99f60c (diff)
downloadruby-87a1f0bc830096f5483a8e8112527fe3b3095a4b.tar.gz
ruby-87a1f0bc830096f5483a8e8112527fe3b3095a4b.tar.xz
ruby-87a1f0bc830096f5483a8e8112527fe3b3095a4b.zip
* instruby.rb (ext-comm): make header directory first.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rwxr-xr-xinstruby.rb9
2 files changed, 8 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index ba46389c7..2b466fc79 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/instruby.rb b/instruby.rb
index e910e1560..91ff79dfb 100755
--- a/instruby.rb
+++ b/instruby.rb
@@ -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