summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules/haddock.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/haddock.mk b/rules/haddock.mk
index 99e0df66a5..5acb7ce98b 100644
--- a/rules/haddock.mk
+++ b/rules/haddock.mk
@@ -67,7 +67,7 @@ endif
# Make the haddocking depend on the library .a file, to ensure
# that we wait until the library is fully build before we haddock it
-$$($$($1_PACKAGE)_HADDOCK_FILE) : $$($1_$2_v_LIB)
+$$($$($1_PACKAGE)-$$($1_$2_VERSION)_HADDOCK_FILE) : $$($1_$2_v_LIB)
endif
endif