summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-09 07:13:21 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-09 07:13:21 +0000
commit8cf578e34f256e95fbc3a1ad271bc4cd20de95ac (patch)
tree5fe893f1d222c614ec83722a88ad1f5d366d5b0d
parent9aaf7910c7f186a25f7a1d5a1c74a254383e0680 (diff)
* 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--ChangeLog4
-rw-r--r--instruby.rb4
2 files changed, 7 insertions, 1 deletions
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 <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