diff options
Diffstat (limited to 'ghc.mk')
-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))), \ |