diff options
author | Ian Lynagh <igloo@earth.li> | 2010-09-21 21:39:51 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2010-09-21 21:39:51 +0000 |
commit | efa3ddb87e4f9e3b1efc5fc2161bcad53dc7016a (patch) | |
tree | 95ad31cb000f64e01f0506e9656760511e94e656 | |
parent | 073f2ca1ed3fbfe1dd78cf95faf5dfa2a3f4e43e (diff) |
Fixes for when HADDOCK_DOCS=NO
-rw-r--r-- | ghc.mk | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -30,13 +30,16 @@ $(eval $(call build-prog,utils/haddock,dist,2)) utils/haddock_dist_MODULES += Paths_haddock +ifeq "$(HADDOCK_DOCS)" "YES" install: install_utils/haddock_html +install: install_utils/haddock_data +endif + .PHONY: install_utils/haddock_html install_utils/haddock_html: $(INSTALL_DIR) "$(DESTDIR)$(docdir)/html" "$(CP)" -R utils/haddock/html "$(DESTDIR)$(docdir)/html" -install: install_utils/haddock_data .PHONY: install_utils/haddock_data install_utils/haddock_data: $(foreach i,$(sort $(dir $(utils/haddock_dist_DATA_FILES))), \ |