summaryrefslogtreecommitdiff
path: root/rules/haddock.mk
diff options
context:
space:
mode:
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 e2efc92cca..c87aa61b62 100644
--- a/rules/haddock.mk
+++ b/rules/haddock.mk
@@ -21,6 +21,8 @@ else
$$(error Already got a haddock file for $$($1_PACKAGE))
endif
+haddock: $$($$($1_PACKAGE)_HADDOCK_FILE)
+
ifeq "$$(HADDOCK_DOCS)" "YES"
$(call all-target,$1_$2_haddock,$$($$($1_PACKAGE)_HADDOCK_FILE))
endif