man bogofilter.1
David Relson
relson at osagesoftware.com
Sun Feb 9 23:53:18 CET 2003
At 05:46 PM 2/9/03, Piotr KUCHARSKI wrote:
>On Sun, Feb 09, 2003 at 04:59:00PM -0500, David Relson wrote:
> > >"<filename>/etc/bogofilter.cf</filename>" et al could be
> > >replaced by some $INSTALLPREFIX/etc/bogofilter.cf, so man
> > >would point to existing .cf.example :)
> > Very slick. I didn't know that could be done.
>
>I don't know about XML, but I'd do it in Makefile.
>
>.xml.1:
> xmlto man $< || { rm -f $@ ; exit 1 ; }
>
>before xmlto I'd stick some
>sed 's/@@DESTDIR@@/'$DESTDIR'/g' $< | xmlto man
>if xmlto accepts stdin, otherwise some temp file
>
>And of course change .xml where appropriate, adding @@DESTDIR@@
>(or whatever token you wish)
>
>p.
That would work. In looking at the man page did you see any other files
that need additional path information?
More information about the Bogofilter
mailing list