diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-07-09 06:45:45 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-07-09 06:45:45 +0000 |
commit | 039fd6a8f9335ba6d2f45082a2f47635f384a606 (patch) | |
tree | c5ab9ea189f1dd195bdcb396a001de2cb3d18818 /instruby.rb | |
parent | 3d43a19c747227a7320816514616c5d3f9466e27 (diff) | |
download | bundler-039fd6a8f9335ba6d2f45082a2f47635f384a606.tar.gz |
* instruby.rb: do not install shared libraries as man pages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'instruby.rb')
-rw-r--r-- | instruby.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/instruby.rb b/instruby.rb index a87d34064e..9f7c76b01f 100644 --- a/instruby.rb +++ b/instruby.rb @@ -100,7 +100,7 @@ if rubyw_install_name and !rubyw_install_name.empty? install rubyw_install_name+exeext, bindir, :mode => 0755 end install dll, bindir, :mode => 0755 if enable_shared and dll != lib -install lib, libdir, :mode => 0555 unless lib == arc +install lib, libdir, :mode => 0755 unless lib == arc install arc, libdir, :mode => 0644 install "config.h", archlibdir, :mode => 0644 install "rbconfig.rb", archlibdir, :mode => 0644 @@ -179,6 +179,8 @@ if RUBY_PLATFORM =~ /mswin32|mingw|bccwin32/ end Dir.glob("*.[1-9]") do |mdoc| + next unless File.read(mdoc)[0] == ?. + section = mdoc[-1,1] destdir = mandir + section |