summaryrefslogtreecommitdiff
path: root/rules/haddock.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-01-23 15:14:08 +0000
committerIan Lynagh <igloo@earth.li>2011-01-23 15:14:08 +0000
commiteb3a1aecac72d22c618b4050fb88eac9055b527a (patch)
treeb86df2bf98b480a27d41ae0a1938243c673c0225 /rules/haddock.mk
parentdd47428295d89eb6bbf91316ac4f5a6e98b1ec70 (diff)
downloadhaskell-eb3a1aecac72d22c618b4050fb88eac9055b527a.tar.gz
Add build system profiling to build system
Diffstat (limited to 'rules/haddock.mk')
-rw-r--r--rules/haddock.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/haddock.mk b/rules/haddock.mk
index ae58bceda4..99e0df66a5 100644
--- a/rules/haddock.mk
+++ b/rules/haddock.mk
@@ -13,6 +13,7 @@
define haddock # args: $1 = dir, $2 = distdir
$(call trace, haddock($1,$2))
+$(call profStart, haddock($1,$2))
ifneq "$$($1_$2_DO_HADDOCK)" "NO"
@@ -71,5 +72,6 @@ endif
endif
+$(call profEnd, haddock($1,$2))
endef