1 # -----------------------------------------------------------------------------
3 # (c) 2009 The University of Glasgow
5 # This file is part of the GHC build system.
7 # To understand how the build system works and how to modify it, see
8 # http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture
9 # http://hackage.haskell.org/trac/ghc/wiki/Building/Modifying
11 # -----------------------------------------------------------------------------
20 $(call clean-target,$1,docbook,$1/$2)
22 ifneq "$$(XSLTPROC)" ""
23 $(call all-target,$1,$1/$2/index.html)
25 $1/$2/index.html: $$($1_DOCBOOK_SOURCES)
27 $$(XSLTPROC) --stringparam base.dir $$(dir $$@) \
28 --stringparam use.id.as.filename 1 \
29 --stringparam html.stylesheet fptools.css \
30 $$(XSLTPROC_LABEL_OPTS) $$(XSLTPROC_OPTS) \
31 $$(DIR_DOCBOOK_XSL)/html/chunk.xsl $1/$2.xml
32 cp mk/fptools.css $$(dir $$@)