On 05/22/12 01:07 PM, Alan Coopersmith wrote:On 05/22/12 01:07 PM, Alan 
Coopersmith wrote:
[2] http://mdocml.bsd.lv/ seems to be the standalone version, also found as an integrated component of BSD distros

I used this. Sadly this code has never been anywhere near a Solaris machine,
so if we were trying to get the whole distribution working, then there would
need to be a lot more work done. But I only cared about the mandoc command,
so it was as simple as downloading the current source tarball from
http://mdocml.bsd.lv/snapshots/mdocml.tar.gz unpacking it, cd'ing into the
mdocml-1.12.1 directory and running:

  $ CC=gcc gmake -k

Lots of things didn't "just compile", but mandoc did.

To convert from the groff -mdoc format to -man format was as simple as:

  $ ./mandoc -Tman /path/to/old/manpage.3 >/path/to/new/manpage.3

There will be some slight tweaking to get some lines into the Solaris man
page style, but this has done the bulk of the work.

Thanks!

_______________________________________________
userland-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/userland-discuss

Reply via email to