Commit 5564a292 authored by Simon Marlow's avatar Simon Marlow

'make html' in a library builds the Haddock docs

parent 8807bf8f
......@@ -24,9 +24,12 @@ endif
haddock: $$($$($1_PACKAGE)_HADDOCK_FILE)
ifeq "$$(HADDOCK_DOCS)" "YES"
$(call all-target,$1_$2_haddock,$$($$($1_PACKAGE)_HADDOCK_FILE))
$(call all-target,$1_$2_haddock,html_$1)
endif
.PHONY: html_$1
html_$1 : $$($$($1_PACKAGE)_HADDOCK_FILE)
$$($1_PACKAGE)_HADDOCK_DEPS = $$(foreach n,$$($1_$2_DEP_NAMES),$$($$n_HADDOCK_FILE))
ifeq "$$(HSCOLOUR_SRCS)" "YES"
......
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