Building all formats
Ceri Davies
ceri at submonkey.net
Sat Aug 13 11:56:03 UTC 2005
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?
Ceri
--
Only two things are infinite, the universe and human stupidity, and I'm
not sure about the former. -- Einstein (attrib.)
-------------- next part --------------
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20050813/50f20af3/attachment.sig>
More information about the freebsd-doc
mailing list