summaryrefslogtreecommitdiff
path: root/mk/opts.mk
diff options
context:
space:
mode:
authorpanne <unknown>2004-08-15 20:28:08 +0000
committerpanne <unknown>2004-08-15 20:28:08 +0000
commit53386c359c55bd6eaa13c35fe174c9274ff5888e (patch)
tree763a1e410ba4412725da9e0d5e9edb6d4e813c1c /mk/opts.mk
parentd318ca89a80f6c4f12555e2feb754e7b793232b0 (diff)
downloadhaskell-53386c359c55bd6eaa13c35fe174c9274ff5888e.tar.gz
[project @ 2004-08-15 20:28:02 by panne]
<fanfare>Finally: Support for DocBook XML!</fanfare> After endless frustrating hours, I came to the conclusion that using (Open)Jade for DocBook XML is virtually impossible, there are *tons* of problems with it: Wildly differing paths, incorrect stylesheets, broken catalogs at funny places, broken wrapper scripts, missing support on Cygwin etc. >:-P * * * So we follow the ubiquitous XSL hype and use xsltproc + DocBook XSL stylesheets to transform DocBook XML to HTML and FO. From FO there are two routes to PDF and PostScript: Either via FOP (preferred) or via PassiveTeX. Validation can be done via xmllint using the new make target "validate". When PassiveTeX is available, DVI can be generated, too. A new make target "no-chunks-html" is available for generating an all-in-one HTML document. Currently there is no way to generate plain text or RTF, but at least the former could easily be added. Generating HTML works out-of-the-box on Cygwin now, but you will have to install FOP for other formats, because there seems to be no standard package for it. The HTML appearance can be controlled via CSS, but the current location of the master stylesheet below fptools/mk is a bit debatable. Better suggestions are welcome. Currently there is still support for SGML documents, but it will be dropped when all documents are converted to DocBook XML. The build system is complex enough already with the support for a *single* kind of DocBook...
Diffstat (limited to 'mk/opts.mk')
-rw-r--r--mk/opts.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/opts.mk b/mk/opts.mk
index 1c8e1897e5..778bb42aa1 100644
--- a/mk/opts.mk
+++ b/mk/opts.mk
@@ -5,7 +5,7 @@
# This file defines Make variables for the
# option flags for each utility program
#
-# $Id: opts.mk,v 1.34 2003/08/18 15:45:09 panne Exp $
+# $Id: opts.mk,v 1.35 2004/08/15 20:28:06 panne Exp $
#
#################################################################################
@@ -104,6 +104,8 @@ SGML2PS_OPTS = $(SRC_SGML2PS_OPTS) $(WAY$(_way)_SGML2PS_OPTS) $(EXTRA_SGML
SGML2PDF_OPTS = $(SRC_SGML2PDF_OPTS) $(WAY$(_way)_SGML2PDF_OPTS) $(EXTRA_SGML2PDF_OPTS)
SGML2RTF_OPTS = $(SRC_SGML2RTF_OPTS) $(WAY$(_way)_SGML2RTF_OPTS) $(EXTRA_SGML2RTF_OPTS)
SGML2HTML_OPTS = $(SRC_SGML2HTML_OPTS) $(WAY$(_way)_SGML2HTML_OPTS) $(EXTRA_SGML2HTML_OPTS)
+XSLTPROC_OPTS = $(WAY$(_way)_XSLTPROC_OPTS) $(EXTRA_XSLTPROC_OPTS)
+FOP_OPTS = $(WAY$(_way)_FOP_OPTS) $(EXTRA_FOP_OPTS)
UNLIT_OPTS = $(SRC_UNLIT_OPTS) $(WAY$(_way)_UNLIT_OPTS) $(EXTRA_UNLIT_OPTS)
ZIP_OPTS = $(SRC_ZIP_OPTS) $(EXTRA_ZIP_OPTS)