Commit 568f906d authored by simonmar's avatar simonmar
Browse files

[project @ 2001-06-28 14:41:19 by simonmar]

fix the ghc-inplace script w.r.t. the latest changes to SysTools.hs
parent 72880886
# -----------------------------------------------------------------------------
# $Id: Makefile,v 1.166 2001/06/26 16:31:07 rrt Exp $
# $Id: Makefile,v 1.167 2001/06/28 14:41:19 simonmar Exp $
TOP = ..
include $(TOP)/mk/boilerplate.mk
......@@ -357,11 +357,11 @@ all :: ghc-inplace
ghc-inplace : $(HS_PROG)
@$(RM) $@
echo '#!/bin/sh' >>$@
echo exec $(FPTOOLS_TOP_ABS_UNIX)/ghc/compiler/$(HS_PROG) -B$(FPTOOLS_TOP_ABS)/ghc/compiler '"$$@"' >>$@
echo exec $(FPTOOLS_TOP_ABS_UNIX)/ghc/compiler/$(HS_PROG) -B$(FPTOOLS_TOP_ABS) '"$$@"' >>$@
chmod 755 $@
ifeq "$(TARGETPLATFORM) and $(MinimalUnixDeps)" "i386-unknown-mingw32 and YES"
@$(RM) $@.bat
echo "@"$(subst /,\\,$(FPTOOLS_TOP_ABS)/ghc/compiler/$(HS_PROG)) "-B$(FPTOOLS_TOP_ABS)/ghc/compiler %*" >$@.bat
echo "@"$(subst /,\\,$(FPTOOLS_TOP_ABS)/ghc/compiler/$(HS_PROG)) "-B$(FPTOOLS_TOP_ABS) %*" >$@.bat
chmod 755 $@.bat
endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment