Add built-in PA dictionaries for boxed tuples
[ghc-hetmet.git] / driver / ghci / Makefile
index 14e0c33..37c30c2 100644 (file)
@@ -23,8 +23,8 @@ INSTALL_PROGS    += $(C_PROG)
 GHCII_SCRIPT=$(bindir)/ghcii.sh
 install::
        $(RM) -f $(GHCII_SCRIPT)
-       echo "#!$(SHELL)"                                 >> $(GHCII_SCRIPT)
-       echo 'exec "$0"/../ghc --interactive $${1+"$$@"}' >> $(GHCII_SCRIPT)
+       echo "#!$(SHELL)"                                  >> $(GHCII_SCRIPT)
+       echo 'exec "$$0"/../ghc --interactive $${1+"$$@"}' >> $(GHCII_SCRIPT)
 else
 LINK = ghci
 LINK_TARGET = $(LINK)-$(ProjectVersion)
@@ -58,7 +58,11 @@ endif
 
 ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
 ghci.res : ghci.rc ghci.ico
-       windres -o ghci.res -i ghci.rc -O coff
+       windres --preprocessor="$(CPP) -xc -DRC_INVOKED" -o ghci.res -i ghci.rc -O coff
 endif
 
+binary-dist:
+       $(INSTALL_DIR)           $(BIN_DIST_DIR)/driver/ghci
+       $(INSTALL_DATA) Makefile $(BIN_DIST_DIR)/driver/ghci/
+
 include $(TOP)/mk/target.mk