aboutsummaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
Diffstat (limited to 'ghc.mk')
-rw-r--r--ghc.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/ghc.mk b/ghc.mk
index 2337975b..92b16f0a 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -19,6 +19,12 @@ $(INPLACE_BIN)/haddock: $(INPLACE_BIN)/haddock-real
$(EXECUTABLE_FILE) $@
endif
+$(INPLACE_BIN)/$(utils/haddock_dist_PROG): inplace/lib/html
+
+inplace/lib/html:
+ $(RM) -rf $@
+ cp -a utils/haddock/html $@
+
$(eval $(call build-prog,utils/haddock,dist,2))
utils/haddock_dist_MODULES += Paths_haddock