Issue #5598 has been updated by George Koehler.

File p-mantype.diff added

Ruby should use its tool/mdoc2man.rb to convert mdoc format to man format. This is broken because some targets in Makefile forgot to pass --mantype="$(MANTYPE)" to INSTRUBY (tools/rbinstall.rb). Now `make install' and `make install-all' ignore MANTYPE and always install mdoc format.

I attached a quick patch. It moves --mantype="$(MANTYPE)" into INSTRUBY_ARGS, so every install target always passes MANTYPE.
----------------------------------------
Bug #5598: man pages are in mdoc format
http://redmine.ruby-lang.org/issues/5598

Author: Rainer Orth
Status: Feedback
Priority: Normal
Assignee: 
Category: DOC
Target version: 
ruby -v: ruby 1.9.2p290 (2011-07-09 revision 32553) [sparc-solaris2.10]


Unfortunately, the ruby man pages are in mdoc format (as detected by grog).
The Solaris man/nroff commands cannot deal with that format, rendering the man
pages effectively useless.

Please provide them using only man macros instead so they are universally
useful.


-- 
http://redmine.ruby-lang.org