diff options
author | Ian Lynagh <igloo@earth.li> | 2008-09-07 18:52:51 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2008-09-07 18:52:51 +0000 |
commit | 7bc887769fc7dc137bf06670f6c39e2c7f6e5854 (patch) | |
tree | 39ef2932a7f246e80696195ba014418f4eb28011 | |
parent | d0f3e8773e85b285e6cc95c1c40035f0bcf7ca58 (diff) |
bindist fixes
-rw-r--r-- | Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -4,8 +4,21 @@ ENABLE_SHELL_WRAPPERS = YES EXTRA_INPLACE_CONFIGURE_FLAGS += --flags=in-ghc-tree EXTRA_STAGE2_CONFIGURE_FLAGS += --flags=in-ghc-tree +# Ideally we'd automatically find these from the .cabal file: +BINDIST_EXTRAS += html/haddock-DEBUG.css \ + html/haddock.css \ + html/haddock-util.js \ + html/haskell_icon.gif \ + html/minus.gif \ + html/plus.gif + include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/cabal.mk + +# bindist.mk isn't expecting a library to be in the same package as an +# executable, so we have to help it out +LIB_DIST_DIR = $(EXE_DIST_DIR) + SRC_HC_OPTS += -w .PHONY: install-inplace |