projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2004-08-18 16:23:14 by panne]
[ghc-hetmet.git]
/
mk
/
suffix.mk
diff --git
a/mk/suffix.mk
b/mk/suffix.mk
index
c427a01
..
ee5fdb7
100644
(file)
--- a/
mk/suffix.mk
+++ b/
mk/suffix.mk
@@
-243,21
+243,31
@@
endif
# DocBook XML suffix rules
#
# DocBook XML suffix rules
#
-%-no-chunks.html : %.xml
+%.html : %.xml
$(XSLTPROC) --output $@ \
$(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_OPTS) $(DIR_DOCBOOK_XSL)/html/docbook.xsl $<
cp $(FPTOOLS_CSS) .
-%.html : %.xml
- @$(RM) -rf $@ $(basename $@)
- $(XSLTPROC) --stringparam base.dir $(basename $@)/ \
+%-html/index.html : %.xml
+ $(RM) -rf $(dir $@)
+ $(XSLTPROC) --stringparam base.dir $(dir $@) \
--stringparam use.id.as.filename 1 \
--stringparam use.id.as.filename 1 \
- --stringparam root.filename '' \
+ --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 $<
--stringparam html.stylesheet fptools.css \
$(XSLTPROC_OPTS) $(DIR_DOCBOOK_XSL)/html/chunk.xsl $<
- cp $(FPTOOLS_CSS) $(basename $@)
- touch $@
+ cp $(FPTOOLS_CSS) $(dir $@)
+
+%-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 $<
%.fo : %.xml
$(XSLTPROC) --output $@ \
%.fo : %.xml
$(XSLTPROC) --output $@ \