diff options
author | panne <unknown> | 2004-08-21 13:29:28 +0000 |
---|---|---|
committer | panne <unknown> | 2004-08-21 13:29:28 +0000 |
commit | 0ba4b0a1104131cd6eae8d570c1e1a713094543c (patch) | |
tree | 7d2c5b7fc7157fd5191ef418ecf0f9b8f85b20bb /mk/suffix.mk | |
parent | 10a5b31160c92f84f7d945c701df22347da7f6b0 (diff) | |
download | haskell-0ba4b0a1104131cd6eae8d570c1e1a713094543c.tar.gz |
[project @ 2004-08-21 13:29:26 by panne]
* Factored out labeling options (used by FO now, too)
* Cleaned up stylesheet handling
Diffstat (limited to 'mk/suffix.mk')
-rw-r--r-- | mk/suffix.mk | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/mk/suffix.mk b/mk/suffix.mk index ee5fdb7f0c..fb95830ded 100644 --- a/mk/suffix.mk +++ b/mk/suffix.mk @@ -245,33 +245,33 @@ endif %.html : %.xml $(XSLTPROC) --output $@ \ - --stringparam toc.section.depth 3 \ - --stringparam section.autolabel 1 \ - --stringparam section.label.includes.component.label 1 \ - --stringparam html.stylesheet fptools.css \ - $(XSLTPROC_OPTS) $(DIR_DOCBOOK_XSL)/html/docbook.xsl $< - cp $(FPTOOLS_CSS) . + --stringparam html.stylesheet $(FPTOOLS_CSS) \ + $(XSLTPROC_LABEL_OPTS) $(XSLTPROC_OPTS) \ + $(DIR_DOCBOOK_XSL)/html/docbook.xsl $< + cp $(FPTOOLS_CSS_ABS) . %-html/index.html : %.xml $(RM) -rf $(dir $@) $(XSLTPROC) --stringparam base.dir $(dir $@) \ - --stringparam use.id.as.filename 1 \ - --stringparam toc.section.depth 3 \ - --stringparam section.autolabel 1 \ - --stringparam section.label.includes.component.label 1 \ - --stringparam html.stylesheet fptools.css \ - $(XSLTPROC_OPTS) $(DIR_DOCBOOK_XSL)/html/chunk.xsl $< - cp $(FPTOOLS_CSS) $(dir $@) + --stringparam use.id.as.filename 1 \ + --stringparam html.stylesheet $(FPTOOLS_CSS) \ + $(XSLTPROC_LABEL_OPTS) $(XSLTPROC_OPTS) \ + $(DIR_DOCBOOK_XSL)/html/chunk.xsl $< + cp $(FPTOOLS_CSS_ABS) $(dir $@) +# Note: Numeric labeling seems to be uncommon for HTML Help %-htmlhelp/index.html : %.xml $(RM) -rf $(dir $@) $(XSLTPROC) --stringparam base.dir $(dir $@) \ - --stringparam manifest.in.base.dir 1 \ - $(XSLTPROC_OPTS) $(DIR_DOCBOOK_XSL)/htmlhelp/htmlhelp.xsl $< + --stringparam manifest.in.base.dir 1 \ + --stringparam htmlhelp.chm $(basename $<).chm \ + $(XSLTPROC_OPTS) \ + $(DIR_DOCBOOK_XSL)/htmlhelp/htmlhelp.xsl $< %.fo : %.xml $(XSLTPROC) --output $@ \ - $(XSLTPROC_OPTS) $(DIR_DOCBOOK_XSL)/fo/docbook.xsl $< + $(XSLTPROC_LABEL_OPTS) $(XSLTPROC_OPTS) \ + $(DIR_DOCBOOK_XSL)/fo/docbook.xsl $< ifeq "$(FOP)" "" ifneq "$(PDFXMLTEX)" "" |