aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ghc.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/ghc.mk b/ghc.mk
index 636d4681..db046b54 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -17,6 +17,12 @@ inplace/lib/html:
INSTALL_LIBEXECS += utils/haddock/dist/build/$(utils/haddock_dist_PROG)
+install: install_utils/haddock_html
+.PHONY: install_utils/haddock_html
+install_utils/haddock_html:
+ $(RM) -rf $(DESTDIR)$(datadir)/html
+ $(CP) -R utils/haddock/html $(DESTDIR)$(datadir)/html
+
$(eval $(call build-prog,utils/haddock,dist,2))
utils/haddock_dist_MODULES += Paths_haddock