diff options
-rw-r--r-- | ghc.mk | 2 | ||||
-rw-r--r-- | rules/haddock.mk | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -100,6 +100,8 @@ # o libraries/* # o compiler +.PHONY: default all haddock + default : all # Just bring makefiles up to date: 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 |