From owner-freebsd-doc@FreeBSD.ORG Sat Aug 13 17:43:11 2005 Return-Path: X-Original-To: doc@FreeBSD.org Delivered-To: freebsd-doc@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDCD216A41F; Sat, 13 Aug 2005 17:43:11 +0000 (GMT) (envelope-from setantae@submonkey.net) Received: from shrike.submonkey.net (cpc4-cdif2-3-1-cust199.cdif.cable.ntl.com [82.31.76.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EFDC43D45; Sat, 13 Aug 2005 17:43:08 +0000 (GMT) (envelope-from setantae@submonkey.net) Received: from setantae by shrike.submonkey.net with local (Exim 4.52 (FreeBSD)) id 1E4028-000Kea-Rb; Sat, 13 Aug 2005 18:43:00 +0100 Date: Sat, 13 Aug 2005 18:43:00 +0100 From: Ceri Davies To: "Jesus R. Camou" Message-ID: <20050813174300.GJ55885@submonkey.net> Mail-Followup-To: Ceri Davies , "Jesus R. Camou" , "Simon L. Nielsen" , doc@FreeBSD.org References: <5EFD4564-4F2A-410E-A563-ECDDA2EBB42C@submonkey.net> <20050813104049.GA851@zaphod.nitro.dk> <20050813115601.GI55885@submonkey.net> <20050813161106.GB199@opensea.mephis.org> <20050813172135.GC199@opensea.mephis.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2eauhx3HRLXw1WRo" Content-Disposition: inline In-Reply-To: <20050813172135.GC199@opensea.mephis.org> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.9i Sender: Ceri Davies Cc: doc@FreeBSD.org, "Simon L. Nielsen" Subject: Re: Building all formats X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Aug 2005 17:43:11 -0000 --2eauhx3HRLXw1WRo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 =20 > > > > > formats turned on? > > > >=20 > > > > I don't think we have a knob that says "enable all formats", but you > > > > can just set them manually: > > > >=20 > > > > make FORMATS=3D"html html.tar html-split html-split.tar txt ps pdf= rtf rtf.tar pdb" > > >=20 > > > Hmm. Any objections to the attached dirty patch then? > >=20 > > > Index: doc.docbook.mk > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > 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 @@ > > > =20 > > > KNOWN_FORMATS=3D html html.tar html-split html-split.tar \ > > > txt rtf rtf.tar ps pdf tex dvi tar pdb > > > +.if ${FORMATS} =3D=3D "all" > > > +FORMATS=3D ${KNOWN_FORMATS} > > > +.endif > > > =20 > > > CSS_SHEET?=3D ${DOC_PREFIX}/share/misc/docbook.css > > > PDFTEX_DEF?=3D ${DOC_PREFIX}/share/web2c/pdftex.def > >=20 > > No objections from me. I tested it seems to work just fine here. :-) >=20 > Though, it doesn't clean. What, really? "make FORMATS=3Dall clean" buys me (for example): =3D=3D=3D> fr_FR.ISO8859-1/articles/euro rm -f /home/setantae/doc/trees/doc/fr_FR.ISO8859-1/articles/euro= //home/setantae/doc/trees/doc/fr_FR.ISO8859-1/share/sgml/mirrors.xml /home/= setantae/doc/trees/doc/fr_FR.ISO8859-1/articles/euro//home/setantae/doc/tre= es/doc/fr_FR.ISO8859-1/share/sgml/mirrors.xml.sort /home/setantae/doc/trees= /doc/fr_FR.ISO8859-1/articles/euro//home/setantae/doc/trees/doc/fr_FR.ISO88= 59-1/share/sgml/mirrors.xml.sort.tmp article.html PLIST.html docbook.css LE= GALNOTICE.html TRADEMARKS.html article.html.tar PLIST.html.tar article.html= docbook.css LEGALNOTICE.html TRADEMARKS.html $([ -f HTML.manifest ] && /us= r/bin/xargs < HTML.manifest) HTML.manifest ln*.html PLIST.html-split docbo= ok.css LEGALNOTICE.html TRADEMARKS.html article.html-split.tar PLIST.html-s= plit.tar $([ -f HTML.manifest ] && /usr/bin/xargs < HTML.manifest) HTML.ma= nifest ln*.html docbook.css LEGALNOTICE.html TRADEMARKS.html article.txt PL= IST.txt article.html-text docbook.css LEGALNOTICE.html TRADEMARKS.html arti= cle.rtf PLIST.rtf LEGALNOTICE.html TRADEMARKS.html article.rtf.tar PLIST.rt= f.tar LEGALNOTICE.html TRADEMARKS.html article.ps PLIST.ps article.aux arti= cle.dvi article.log article.tex-ps article.tex LEGALNOTICE.html TRADEMARKS.= html article.pdf PLIST.pdf article.aux article.dvi article.log article.out = article.tex-pdf article.tex LEGALNOTICE.html TRADEMARKS.html article.tex P= LIST.tex article.aux article.log LEGALNOTICE.html TRADEMARKS.html article.d= vi PLIST.dvi article.aux article.log article.tex LEGALNOTICE.html TRADEMARK= S.html article.tar PLIST.tar LEGALNOTICE.html TRADEMARKS.html article.pdb P= LIST.pdb euro.pdb LEGALNOTICE.html TRADEMARKS.html article.html.tar.gz arti= cle.html-split.tar.gz article.txt.gz article.rtf.gz article.rtf.tar.gz arti= cle.ps.gz article.pdf.gz article.tex.gz article.dvi.gz article.tar.gz artic= le.pdb.gz euro.pdb.gz=20 rm -rf imagelib What's that missing? Ceri --=20 Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. -- Einstein (attrib.) --2eauhx3HRLXw1WRo Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFC/jEkocfcwTS3JF8RArzLAKCFuPqAfwO1B0sKiBiBHWcNl2U0GQCdG8Y3 ZMtzzr2KS/CjgdXRpr2sgcM= =BIRl -----END PGP SIGNATURE----- --2eauhx3HRLXw1WRo--