summaryrefslogtreecommitdiff
path: root/Makefile
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 /Makefile
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 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e4b56142d8..593783e5c7 100644
--- a/Makefile
+++ b/Makefile
@@ -287,14 +287,14 @@ ifneq "$(DOCBOOK_CATALOG)" ""
@for i in $(BIN_DIST_DIRS); do \
if test -d "$$i"; then \
$(MAKE) -C $$i $(MFLAGS) $(BINDIST_DOC_WAYS); \
- echo $(MAKE) -C $$i $(MFLAGS) install-docs SGMLDocWays="$(BINDIST_DOC_WAYS)" \
+ echo $(MAKE) -C $$i $(MFLAGS) install-docs SGMLDocWays="$(BINDIST_DOC_WAYS)" XMLDocWays="$(BINDIST_DOC_WAYS)" \
prefix=$(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME) \
exec_prefix=$(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME) \
bindir=$(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME)/bin/$(TARGETPLATFORM) \
libdir=$(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME)/lib/$(TARGETPLATFORM) \
libexecdir=$(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME)/lib/$(TARGETPLATFORM) \
datadir=$(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME)/share; \
- $(MAKE) -C $$i $(MFLAGS) install-docs SGMLDocWays="$(BINDIST_DOC_WAYS)" \
+ $(MAKE) -C $$i $(MFLAGS) install-docs SGMLDocWays="$(BINDIST_DOC_WAYS)" XMLDocWays="$(BINDIST_DOC_WAYS)" \
prefix=$(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME) \
exec_prefix=$(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME) \
bindir=$(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME)/bin/$(TARGETPLATFORM) \