summaryrefslogtreecommitdiff
path: root/rules/build-package.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-06-23 18:36:51 +0100
committerIan Lynagh <igloo@earth.li>2011-06-23 18:36:51 +0100
commit0ae70f981bf07cd116ee17199d3a9bd4c1aade62 (patch)
tree15b8a3e4d7c5a5c5fe45ceb170c27627e5e01cc6 /rules/build-package.mk
parentab7c49bde59b4f80ae153e41132850403ed11965 (diff)
downloadhaskell-0ae70f981bf07cd116ee17199d3a9bd4c1aade62.tar.gz
Follow Cabal reorganisation, and improve build system a little
Diffstat (limited to 'rules/build-package.mk')
-rw-r--r--rules/build-package.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/build-package.mk b/rules/build-package.mk
index c735e5137a..c15a8c5c50 100644
--- a/rules/build-package.mk
+++ b/rules/build-package.mk
@@ -132,7 +132,9 @@ check_$1: $$(GHC_CABAL_INPLACE)
$$(GHC_CABAL_INPLACE) check $1
endif
+ifneq "$3" "0"
$(call haddock,$1,$2)
+endif
# Don't put bootstrapping packages in the bindist
ifneq "$3" "0"