aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-02-25 19:21:32 +0000
committerIan Lynagh <igloo@earth.li>2009-02-25 19:21:32 +0000
commitaa281e13a93bbd97d41c2d034b80b8b22fe34a89 (patch)
treeea2a710bdc76fae41d9630b3b2a3317e50d9ca44
parent403e42dc6d75cbb0c7daacb286850598f6fe65ed (diff)
Create inplace/lib/html in the new GHC build system
-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