Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Aug 2005 09:11:06 -0700
From:      "Jesus R. Camou" <jcamou@FreeBSD.org>
To:        Ceri Davies <ceri@submonkey.net>, "Simon L. Nielsen" <simon@FreeBSD.org>,  doc@FreeBSD.org
Subject:   Re: Building all formats
Message-ID:  <20050813161106.GB199@opensea.mephis.org>
In-Reply-To: <20050813115601.GI55885@submonkey.net>
References:  <5EFD4564-4F2A-410E-A563-ECDDA2EBB42C@submonkey.net> <20050813104049.GA851@zaphod.nitro.dk> <20050813115601.GI55885@submonkey.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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. :-)

-- 
Jesus R. Camou - jcamou@FreeBSD.org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050813161106.GB199>