diff options
author | Ian Lynagh <igloo@earth.li> | 2008-09-21 12:20:16 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2008-09-21 12:20:16 +0000 |
commit | 54713fd0368e2e85aa389899d4bf3346492343e7 (patch) | |
tree | 53a6d13c1f6081eb107cf85074180f5754dc28ea /Makefile | |
parent | b041d5b0ada87401a861909db62b4ee95b25c061 (diff) |
Fix the in-tree haddock on Windows
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -30,6 +30,12 @@ ifneq "$(HOSTPLATFORM)" "i386-unknown-mingw32" INSTALL_INPLACE_FLAGS += --enable-shell-wrappers endif +ifeq "$(HOSTPLATFORM)" "i386-unknown-mingw32" +INPLACE_DATADIR = '$$prefix' +else +INPLACE_DATADIR = '$$prefix/share' +endif + install-inplace: $(INSTALL_PACKAGE) install '$(GHC_PKG_PROG)' '$(INPLACE_PKG_CONF)' '' \ '$(FPTOOLS_TOP_ABS)/utils/haddock/install-inplace' \ @@ -38,7 +44,7 @@ install-inplace: '$$prefix/lib' \ '$$prefix/libexec' \ '$$prefix/dynlib' \ - '$$prefix/share' \ + $(INPLACE_DATADIR) \ '$$prefix/doc' \ '$$prefix/html' \ '$$prefix/haddock' \ |