Hi,
> milter-greylist man pages can be viewed on Solaris by doing
> groff -mdoc -Tascii milter-greylist.8
Unfortunately groff doesn't come with Solaris by default, so
the modification you made to Makefile in 2.0b6 won't work
on a stock Solaris system. It would be better if you ship
the cat files in the milter-greylist distribution, and don't
try to generate them during installation.
"man -d" showed this command line to be used to format the
man pages under Linux, BTW:
/usr/bin/zsoelim milter-greylist.8 | /usr/bin/tbl |
/usr/bin/nroff -mandocdb -Tutf8 > milter-greylist.cat8
As has been mentioned, under Solaris only the cat version of
the man page should be installed then. I can't think of
a better way than "uname" to decide on which file(s) should
be installed. Maybe running "nroff -mandocdb < /dev/null"
would be an option, it returns "nroff: Cannot find library -mandocdb"
under Solaris, which "nroff -man < /dev/null" comes up empty
(no error).
A bit messy, all of this. It still would be best to write
the man pages in a way that the man command on all OS's
can format the man pages itself - I guess that would mean
to convert them so that "nroff -man" can format them. I'd
volunteer, but I have zero knowlegde about *roff macro
packages.
mp.
--
Martin Paul | Systems Administrator
Institute of Scientific Computing | martin@...
Nordbergstrasse 15/C/3, A-1090 Wien | Tel: 01 4277 39403
http://www.par.univie.ac.at/ | Fax: 01 4277 9394Message
Re: [milter-greylist] Solaris man page: need feedback
2005-05-09 by Martin Paul
Attachments
- No local attachments were found for this message.