summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--instruby.rb4
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index dade1b8..7e979f7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Wed Jul 9 15:38:28 2003 WATANABE Hirofumi <eban@ruby-lang.org>
+
+ * instruby.rb: do not install shared libraries as man pages.
+
Wed Jul 09 11:09:57 2003 NAKAMURA Usaku <usa@ruby-lang.org>
* re.c (match_entry): add prototype to avoid VC++ warnings.
diff --git a/instruby.rb b/instruby.rb
index a87d340..9f7c76b 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