summaryrefslogtreecommitdiff
path: root/rules/haddock.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-05-26 18:40:34 +0000
committerIan Lynagh <igloo@earth.li>2009-05-26 18:40:34 +0000
commit950c1aa6077e25717a8fbc675b9afbb3b5311b47 (patch)
treef3706bc3a3d4a17d4ff0671d6dc9fcc8317426f5 /rules/haddock.mk
parent178a52ac5f702fa8644c0fd62eb364991ba3bbd1 (diff)
downloadhaskell-950c1aa6077e25717a8fbc675b9afbb3b5311b47.tar.gz
Fix haddocking
We were looking at HADDOCK_DOCS instead of $$(HADDOCK_DOCS)
Diffstat (limited to 'rules/haddock.mk')
-rw-r--r--rules/haddock.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/haddock.mk b/rules/haddock.mk
index 8c5f00ac4c..6f0316d51c 100644
--- a/rules/haddock.mk
+++ b/rules/haddock.mk
@@ -21,7 +21,7 @@ else
$$(error Already got a haddock file for $$($1_PACKAGE))
endif
-ifeq "HADDOCK_DOCS" "YES"
+ifeq "$$(HADDOCK_DOCS)" "YES"
$(call all-target,$1_$2_haddock,$$($$($1_PACKAGE)_HADDOCK_FILE))
endif