Skip to content

Commit

Permalink
* instruby.rb: do not install shared libraries as man pages.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
eban committed Jul 9, 2003
1 parent 373a239 commit fcd6db0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions 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.
Expand Down
4 changes: 3 additions & 1 deletion instruby.rb
Expand Up @@ -100,7 +100,7 @@ def makedirs(dirs)
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
Expand Down Expand Up @@ -179,6 +179,8 @@ def makedirs(dirs)
end

Dir.glob("*.[1-9]") do |mdoc|
next unless File.read(mdoc)[0] == ?.

section = mdoc[-1,1]

destdir = mandir + section
Expand Down

0 comments on commit fcd6db0

Please sign in to comment.