Commit c778b922 authored by Ian Lynagh's avatar Ian Lynagh

Add a haddock target, for just building the haddock docs

parent 02821021
......@@ -100,6 +100,8 @@
# o libraries/*
# o compiler
.PHONY: default all haddock
default : all
# Just bring makefiles up to date:
......
......@@ -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
......
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