From 8cf578e34f256e95fbc3a1ad271bc4cd20de95ac Mon Sep 17 00:00:00 2001 From: eban Date: Wed, 9 Jul 2003 07:13:21 +0000 Subject: * instruby.rb: do not install shared libraries as man pages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@4046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ instruby.rb | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c96bab8abd..3683a95d6f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Jul 9 16:12:13 2003 WATANABE Hirofumi + + * instruby.rb: do not install shared libraries as man pages. + Sat Jun 28 14:20:54 2003 Nobuyoshi Nakada * ext/tcltklib/extconf.rb (find_tcl, find_tk): return true if diff --git a/instruby.rb b/instruby.rb index dd9f079b5e..9c90f36d6a 100644 --- a/instruby.rb +++ b/instruby.rb @@ -49,7 +49,7 @@ File.makedirs libdir, true if CONFIG["LIBRUBY"] != CONFIG["LIBRUBY_A"] for lib in [CONFIG["LIBRUBY"]] if File.exist? lib - File.install lib, libdir, 0555, true + File.install lib, libdir, 0755, true end end end @@ -136,6 +136,8 @@ end File.install wdir+'/'+CONFIG['LIBRUBY_A'], archlibdir, 0644, true Dir.glob("*.[1-9]") do |mdoc| + next unless open(mdoc){|fh| fh.read(1) == '.'} + section = mdoc[-1,1] mandestdir = mandir + section -- cgit v1.2.1