Commit 5d6bfce4 authored by Duncan Coutts's avatar Duncan Coutts
Browse files

Prevent haddock docs being built when HADDOCK_DOCS=NO

parent f3aea765
...@@ -21,7 +21,9 @@ else ...@@ -21,7 +21,9 @@ else
$$(error Already got a haddock file for $$($1_PACKAGE)) $$(error Already got a haddock file for $$($1_PACKAGE))
endif endif
$(call all-target,$1_$2_haddock,$$($$($1_PACKAGE)_HADDOCK_FILE)) $(call all-target,$1_$2_haddock,$$($$($1_PACKAGE)_HADDOCK_FILE))
$$($1_PACKAGE)_HADDOCK_DEPS = $$(foreach n,$$($1_$2_DEP_NAMES),$$($$n_HADDOCK_FILE)) $$($1_PACKAGE)_HADDOCK_DEPS = $$(foreach n,$$($1_$2_DEP_NAMES),$$($$n_HADDOCK_FILE))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment