Commit c778b922 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Add a haddock target, for just building the haddock docs

parent 02821021
...@@ -100,6 +100,8 @@ ...@@ -100,6 +100,8 @@
# o libraries/* # o libraries/*
# o compiler # o compiler
.PHONY: default all haddock
default : all default : all
# Just bring makefiles up to date: # Just bring makefiles up to date:
......
...@@ -21,6 +21,8 @@ else ...@@ -21,6 +21,8 @@ else
$$(error Already got a haddock file for $$($1_PACKAGE)) $$(error Already got a haddock file for $$($1_PACKAGE))
endif endif
haddock: $$($$($1_PACKAGE)_HADDOCK_FILE)
ifeq "$$(HADDOCK_DOCS)" "YES" ifeq "$$(HADDOCK_DOCS)" "YES"
$(call all-target,$1_$2_haddock,$$($$($1_PACKAGE)_HADDOCK_FILE)) $(call all-target,$1_$2_haddock,$$($$($1_PACKAGE)_HADDOCK_FILE))
endif 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