projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Trac #1525
[ghc-hetmet.git]
/
driver
/
ghci
/
Makefile
diff --git
a/driver/ghci/Makefile
b/driver/ghci/Makefile
index
14e0c33
..
37c30c2
100644
(file)
--- a/
driver/ghci/Makefile
+++ b/
driver/ghci/Makefile
@@
-23,8
+23,8
@@
INSTALL_PROGS += $(C_PROG)
GHCII_SCRIPT=$(bindir)/ghcii.sh
install::
$(RM) -f $(GHCII_SCRIPT)
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)
else
LINK = ghci
LINK_TARGET = $(LINK)-$(ProjectVersion)
@@
-58,7
+58,11
@@
endif
ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
ghci.res : ghci.rc ghci.ico
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
endif
+binary-dist:
+ $(INSTALL_DIR) $(BIN_DIST_DIR)/driver/ghci
+ $(INSTALL_DATA) Makefile $(BIN_DIST_DIR)/driver/ghci/
+
include $(TOP)/mk/target.mk
include $(TOP)/mk/target.mk