From 039fd6a8f9335ba6d2f45082a2f47635f384a606 Mon Sep 17 00:00:00 2001 From: eban Date: Wed, 9 Jul 2003 06:45:45 +0000 Subject: [PATCH] * 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 --- ChangeLog | 4 ++++ instruby.rb | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index dade1b877c..7e979f790a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Jul 9 15:38:28 2003 WATANABE Hirofumi + + * instruby.rb: do not install shared libraries as man pages. + Wed Jul 09 11:09:57 2003 NAKAMURA Usaku * re.c (match_entry): add prototype to avoid VC++ warnings. 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