summaryrefslogtreecommitdiff
path: root/rules/haddock.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-08-02 11:42:02 +0000
committerIan Lynagh <igloo@earth.li>2009-08-02 11:42:02 +0000
commit6f476448854b3775b806b6a07a530aa2b70ea02f (patch)
tree05d04ecbc29ead2d517dab5be755ac1774f6ec1d /rules/haddock.mk
parent9c5b7a1e68fe6b30b64f481be9a11e3db3247c6a (diff)
downloadhaskell-6f476448854b3775b806b6a07a530aa2b70ea02f.tar.gz
Fix creation of library doc index, and put the library docs in bindists
Diffstat (limited to 'rules/haddock.mk')
-rw-r--r--rules/haddock.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/haddock.mk b/rules/haddock.mk
index 6269612f53..a6ad82ef3d 100644
--- a/rules/haddock.mk
+++ b/rules/haddock.mk
@@ -17,6 +17,7 @@ ifneq "$$($1_$2_DO_HADDOCK)" "NO"
ifeq "$$($$($1_PACKAGE)_HADDOCK_FILE)" ""
$$($1_PACKAGE)_HADDOCK_FILE = $1/$2/doc/html/$$($1_PACKAGE)/$$($1_PACKAGE).haddock
+ALL_HADDOCK_FILES += $$($$($1_PACKAGE)_HADDOCK_FILE)
else
$$(error Already got a haddock file for $$($1_PACKAGE))
endif