<<< Date Index >>>     <<< Thread Index >>>

bug#1708: mutt-1.4.1i: muttbug man page fails for Solaris and Linux



Not forwarded to mutt-dev?
I haven't received my message via mutt-dev.
Attached.
--- Begin Message ---
On Sun, Apr 18, 2004 at 06:14:00PM -0700, Brian Parent wrote:
> That won't work across systems, solaris doesn't have a '-w' 
> option to the man command.  Since the INSTALL file has instructions
> on running configure, it seems the right place to deal with
> OS differences is in the configure script.

Yes, configure script is the best place.
I just suggested an idea. Could you please give developers
a correct patch? You know better than I.

How about "env PAGER=true man -W `pwd` 1 flea" instead of
my former suggestion? This works on FreeBSD.

> > +   echo ".so `pwd`/man1/muttbug.1" > ./man1/flea.1
> > +   man -wM `pwd` 1 flea || echo ".so man1/muttbug.1" > ./flea.man
> > +   test -f ./flea.man || echo ".so $(mandir)/man1/muttbug.1" > ./flea.man

Thanks,
-- 
tamo

--- End Message ---