man pages are in mdoc format
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
Updated by kernigh (George Koehler) almost 9 years ago
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' andmake 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.
Updated by yugui (Yuki Sonoda) almost 9 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r33886.
Rainer, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
- common.mk (INSTRUBY_ARGS): added --mantype to apply mdoc2man.rb to man pages. Fixes #5598. (do-install-nodoc, do-install-local, do-install-man, dont-install-nodoc, dont-install-local, dont-install-man): No longer needs --mantype.
Reported by Rainer Orth ,
patch by George Koehler .