diff options
| author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-12 18:08:02 +0000 |
|---|---|---|
| committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-12 18:08:02 +0000 |
| commit | 8eefe61b93d90aa6196cc868cb58f562cd48b7ae (patch) | |
| tree | 0f1db59ec443885fb9045012d2808b4503895b17 | |
| parent | a1b7169f61bf6c6c8ef021d8b77d43e4d46a2207 (diff) | |
| download | ruby-8eefe61b93d90aa6196cc868cb58f562cd48b7ae.tar.gz ruby-8eefe61b93d90aa6196cc868cb58f562cd48b7ae.tar.xz ruby-8eefe61b93d90aa6196cc868cb58f562cd48b7ae.zip | |
* instruby.rb: require "tool/mdoc2man.rb" before chdir if needed.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rwxr-xr-x | instruby.rb | 3 |
2 files changed, 5 insertions, 2 deletions
@@ -1,3 +1,7 @@ +Tue Jan 13 03:07:28 2009 NAKAMURA Usaku <usa@ruby-lang.org> + + * instruby.rb: require "tool/mdoc2man.rb" before chdir if needed. + Tue Jan 13 02:54:54 2009 NAKAMURA Usaku <usa@ruby-lang.org> * ext/socket/extconf.rb: use headers instead of "netdb.h" in checking diff --git a/instruby.rb b/instruby.rb index bf6840ca2..6cfa3c572 100755 --- a/instruby.rb +++ b/instruby.rb @@ -430,6 +430,7 @@ install?(:local, :comm, :man) do puts "installing manpages" has_goruby = File.exist?(goruby_install_name+exeext) + require File.join(srcdir, "tool/mdoc2man.rb") if $mantype != "doc" Dir.chdir("#{srcdir}/man") for mdoc in Dir["*.[1-9]"] next unless File.file?(mdoc) and open(mdoc){|fh| fh.read(1) == '.'} @@ -447,8 +448,6 @@ install?(:local, :comm, :man) do if $mantype == "doc" install mdoc, destfile, :mode => $data_mode else - require File.join(srcdir, "tool/mdoc2man.rb") - w = nil Tempfile.open(mdoc) do |f| w = f |
