diff options
author | Ian Lynagh <igloo@earth.li> | 2009-05-26 19:04:59 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2009-05-26 19:04:59 +0000 |
commit | c778b9227fd06264ab7f58cc36da9d39690803a5 (patch) | |
tree | 98560ff2787a1daf7e4749430b8ece8a27b3e1ca /rules/haddock.mk | |
parent | 02821021684513c15d3ae2895c36e84902bd6b8d (diff) | |
download | haskell-c778b9227fd06264ab7f58cc36da9d39690803a5.tar.gz |
Add a haddock target, for just building the haddock docs
Diffstat (limited to 'rules/haddock.mk')
-rw-r--r-- | rules/haddock.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/haddock.mk b/rules/haddock.mk index e2efc92cca..c87aa61b62 100644 --- a/rules/haddock.mk +++ b/rules/haddock.mk @@ -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 |