Building all formats
Jesus R. Camou
jcamou at FreeBSD.org
Sat Aug 13 18:14:34 UTC 2005
On Sat, Aug 13, 2005 at 06:43:00PM +0100, Ceri Davies wrote:
> On Sat, Aug 13, 2005 at 10:21:35AM -0700, Jesus R. Camou wrote:
> > On Sat, Aug 13, 2005 at 09:11:06AM -0700, Jesus R. Camou wrote:
> > > On Sat, Aug 13, 2005 at 12:56:01PM +0100, Ceri Davies wrote:
> > > > On Sat, Aug 13, 2005 at 12:40:50PM +0200, Simon L. Nielsen wrote:
> > > > > On 2005.08.13 11:12:25 +0100, Ceri Davies wrote:
> > > > > > So it's been a while; how do I do a run of the doc tree with all the
> > > > > > formats turned on?
> > > > >
> > > > > I don't think we have a knob that says "enable all formats", but you
> > > > > can just set them manually:
> > > > >
> > > > > make FORMATS="html html.tar html-split html-split.tar txt ps pdf rtf rtf.tar pdb"
> > > >
> > > > Hmm. Any objections to the attached dirty patch then?
> > >
> > > > Index: doc.docbook.mk
> > > > ===================================================================
> > > > RCS file: /home/dcvs/doc/share/mk/doc.docbook.mk,v
> > > > retrieving revision 1.119
> > > > diff -u -r1.119 doc.docbook.mk
> > > > --- doc.docbook.mk 10 Jan 2005 22:00:58 -0000 1.119
> > > > +++ doc.docbook.mk 13 Aug 2005 11:55:19 -0000
> > > > @@ -190,6 +190,9 @@
> > > >
> > > > KNOWN_FORMATS= html html.tar html-split html-split.tar \
> > > > txt rtf rtf.tar ps pdf tex dvi tar pdb
> > > > +.if ${FORMATS} == "all"
> > > > +FORMATS= ${KNOWN_FORMATS}
> > > > +.endif
> > > >
> > > > CSS_SHEET?= ${DOC_PREFIX}/share/misc/docbook.css
> > > > PDFTEX_DEF?= ${DOC_PREFIX}/share/web2c/pdftex.def
> > >
> > > No objections from me. I tested it seems to work just fine here. :-)
> >
> > Though, it doesn't clean.
>
> What, really?
I'm sorry it does clean. Please ignore previous message.
I tried cleaning it the wrong way, I really need that coffee.
Looks all good.
--
Jesus R. Camou - jcamou at FreeBSD.org
More information about the freebsd-doc
mailing list