aboutsummaryrefslogtreecommitdiff
path: root/doc/ghc.mk
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2016-02-12 10:04:22 +0100
committerBen Gamari <ben@smart-cactus.org>2016-02-12 10:04:22 +0100
commite18d166b39cdc8c6672b626b4b840c1c383a9685 (patch)
tree43aa1526b9980fdf9f6fc8cbd5a6027b9e82970c /doc/ghc.mk
parent57a5dcfd3d2a7e01229a2c3a79b1f99cd95d5de1 (diff)
parent6a6029f1fc7b2cfeea8e231c8806d293d6644004 (diff)
Merge remote-tracking branch 'origin/master' into ghc-head
Diffstat (limited to 'doc/ghc.mk')
-rw-r--r--doc/ghc.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/ghc.mk b/doc/ghc.mk
index 73d6b7f0..52a2f2a5 100644
--- a/doc/ghc.mk
+++ b/doc/ghc.mk
@@ -10,6 +10,11 @@
#
# -----------------------------------------------------------------------------
-utils/haddock/doc_DOCBOOK_SOURCES = utils/haddock/doc/haddock.xml
+INSTALL_HTML_DOC_DIRS += utils/haddock/doc/haddock
+
+html : html_utils/haddock/doc
+
+html_utils/haddock/doc :
+ make -C utils/haddock/doc html SPHINX_BUILD=$(SPHINXBUILD)
+ cp -R utils/haddock/doc/.build-html utils/haddock/doc/haddock
-$(eval $(call docbook,utils/haddock/doc,haddock))