diff options
author | Ian Lynagh <igloo@earth.li> | 2008-08-28 14:22:29 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2008-08-28 14:22:29 +0000 |
commit | 54825d3531346ee52a48163f2e2b14d62b90d13b (patch) | |
tree | df5ad7cbd4c9803c14463cb2b119ee6371b68e55 /Makefile | |
parent | 56f2789e70905b790fc961455bcb9fbe56cc6626 (diff) |
Fixes for using haddock in a GHC build tree
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -1,7 +1,28 @@ TOP=../.. ENABLE_SHELL_WRAPPERS = YES +EXTRA_INPLACE_CONFIGURE_FLAGS += --flags=-ghc-paths +EXTRA_STAGE2_CONFIGURE_FLAGS += --flags=-ghc-paths include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/cabal.mk +SRC_HC_OPTS += -w + +.PHONY: install-inplace + +INPLACE_PKG_CONF = $(FPTOOLS_TOP_ABS)/ghc/inplace-datadir/package.conf + +install-inplace: + $(INSTALL_PACKAGE) install '$(GHC_PKG_PROG)' '$(INPLACE_PKG_CONF)' '' \ + '$(FPTOOLS_TOP_ABS)/utils/haddock/install-inplace' \ + '$(FPTOOLS_TOP_ABS)/utils/haddock/install-inplace' \ + '$$prefix/bin' \ + '$$prefix/lib' \ + '$$prefix/libexec' \ + '$$prefix/dynlib' \ + '$$prefix/share' \ + '$$prefix/doc' \ + '$$prefix/html' \ + '$$prefix/haddock' \ + --distpref dist-install --enable-shell-wrappers |