From f89cff1e15b79133ecb1318140e3091919fd2186 Mon Sep 17 00:00:00 2001 From: Nik Clayton Date: Sun, 5 May 2002 15:30:06 +0000 Subject: [PATCH] Add a STYLESHEET_TYPE variable, which defaults to 'dsssl'. When set to 'xsl' a different set of rules are invoked to use an XSL toolchain (processors, stylesheets, and so forth) to convert the DocBook to the various different output formats. I haven't actually written the rules that are invoked when this knob is set to 'xsl'. But how hard can it be. . . --- share/mk/doc.docbook.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/share/mk/doc.docbook.mk b/share/mk/doc.docbook.mk index deb1061329..4114993a21 100644 --- a/share/mk/doc.docbook.mk +++ b/share/mk/doc.docbook.mk @@ -102,6 +102,9 @@ DOCBOOKSUFFIX?= sgml MASTERDOC?= ${.CURDIR}/${DOC}.${DOCBOOKSUFFIX} +# Which stylesheet type to use. 'dsssl' or 'xsl' +STYLESHEET_TYPE?= dsssl + .if ${MACHINE_ARCH} == "alpha" OPENJADE= yes .endif