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
# -----------------------------------------------------------------------------
13
docs/users_guide_GENERATED_DOCBOOK_SOURCES := \
14
docs/users_guide/users_guide.xml \
15
docs/users_guide/what_glasgow_exts_does.gen.xml
17
# sort remove duplicates
18
docs/users_guide_DOCBOOK_SOURCES := \
19
$(sort $(docs/users_guide_GENERATED_DOCBOOK_SOURCES) \
20
$(wildcard docs/users_guide/*.xml) \
21
$(basename $(wildcard docs/users_guide/*.xml.in)))
23
$(docs/users_guide_GENERATED_DOCBOOK_SOURCES): %.xml: inplace/bin/mkUserGuidePart
24
inplace/bin/mkUserGuidePart $@
26
$(eval $(call docbook,docs/users_guide,users_guide))
28
$(eval $(call clean-target,docs/users_guide,gen,$(docs/users_guide_GENERATED_DOCBOOK_SOURCES)))
30
html_docs/users_guide : docs/users_guide/users_guide/prof_scc.png
32
docs/users_guide/users_guide/prof_scc.png : \
33
docs/users_guide/prof_scc.png \
34
docs/users_guide/users_guide/index.html
36
# dep. on d/u/u/index.html is to make sure that the d/u/u dir is created first