From 7bc887769fc7dc137bf06670f6c39e2c7f6e5854 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sun, 7 Sep 2008 18:52:51 +0000 Subject: bindist fixes --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.3