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
$$(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))
......
Markdown is supported
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