Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Aug 2005 18:43:00 +0100
From:      Ceri Davies <ceri@submonkey.net>
To:        "Jesus R. Camou" <jcamou@FreeBSD.org>
Cc:        doc@FreeBSD.org, "Simon L. Nielsen" <simon@FreeBSD.org>
Subject:   Re: Building all formats
Message-ID:  <20050813174300.GJ55885@submonkey.net>
In-Reply-To: <20050813172135.GC199@opensea.mephis.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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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