[Xquartz-dev] Re: minor formatting bug in Xquartz man page

Peter O'Gorman peter at pogma.com
Sun Dec 2 17:05:07 PST 2007


Jeremy Huddleston wrote:
> I honestly know next to nothing about writing man pages.  If someone
> wants to submit a patch (either in this list or as a bug report on
> xquartz.macosforge.org), I'd be very appreciative.
> 
> Thanks,
> Jeremy
> 
>> This is great, too, but there is a minor formatting bug: at the end of
>> the page, the references
>> X(__miscmansuffix__)
>> __vendorversion__
>> should be replaced by the man suffix and the vendor, respectively.

Currently the manpage is copied directly from Xquartz.man in hw/darwin
to the installed Xquartz.1, it looks like it should have a sed done on it.

in Makefile.am put

man1_MANS = Xquartz.1

Xquartz.1: Xquartz.man
<TAB>sed -e "s!__vendor_version__!$(VENDOR_MAN_VERSION)!g" -e "s!
__miscmansuffix__!1!g" <  Xquartz.man > Xquartz.1

Should work, but untried.

Peter
-- 
Peter O'Gorman
http://pogma.com


More information about the Xquartz-dev mailing list