diff options
Diffstat (limited to 'rules/haddock.mk')
-rw-r--r-- | rules/haddock.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/haddock.mk b/rules/haddock.mk index 2bd8cfc83b..8c5f00ac4c 100644 --- a/rules/haddock.mk +++ b/rules/haddock.mk @@ -21,7 +21,9 @@ else $$(error Already got a haddock file for $$($1_PACKAGE)) endif +ifeq "HADDOCK_DOCS" "YES" $(call all-target,$1_$2_haddock,$$($$($1_PACKAGE)_HADDOCK_FILE)) +endif $$($1_PACKAGE)_HADDOCK_DEPS = $$(foreach n,$$($1_$2_DEP_NAMES),$$($$n_HADDOCK_FILE)) |