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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
eban committed Jul 9, 2003
1 parent 3d43a19 commit 039fd6a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Wed Jul 9 15:38:28 2003 WATANABE Hirofumi <[email protected]>

* instruby.rb: do not install shared libraries as man pages.

Wed Jul 09 11:09:57 2003 NAKAMURA Usaku <[email protected]>

* re.c (match_entry): add prototype to avoid VC++ warnings.
Expand Down
4 changes: 3 additions & 1 deletion instruby.rb
Original file line number Diff line number Diff line change
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 039fd6a

Please sign in to comment.