aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2009-03-24 13:00:56 +0000
committerSimon Marlow <marlowsd@gmail.com>2009-03-24 13:00:56 +0000
commit3144024f2b768749b29f16a744dee6028577f0bf (patch)
tree174b305748cf5ffaec4ddce46b0c914279a59504
parent54d330a2b1fe37969295a37c0c602d28ec526faf (diff)
install Haddock's html stuff
-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