diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-07-09 07:13:21 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-07-09 07:13:21 +0000 |
commit | 8cf578e34f256e95fbc3a1ad271bc4cd20de95ac (patch) | |
tree | 5fe893f1d222c614ec83722a88ad1f5d366d5b0d | |
parent | 9aaf7910c7f186a25f7a1d5a1c74a254383e0680 (diff) | |
download | ruby-8cf578e34f256e95fbc3a1ad271bc4cd20de95ac.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | instruby.rb | 4 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Wed Jul 9 16:12:13 2003 WATANABE Hirofumi <eban@ruby-lang.org> + + * instruby.rb: do not install shared libraries as man pages. + Sat Jun 28 14:20:54 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> * 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 |