aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-09-07 18:52:51 +0000
committerIan Lynagh <igloo@earth.li>2008-09-07 18:52:51 +0000
commit7bc887769fc7dc137bf06670f6c39e2c7f6e5854 (patch)
tree39ef2932a7f246e80696195ba014418f4eb28011 /Makefile
parentd0f3e8773e85b285e6cc95c1c40035f0bcf7ca58 (diff)
bindist fixes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 937cee8b..034d5172 100644
--- a/Makefile
+++ b/Makefile
@@ -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