From: Ian Lynagh Date: Fri, 1 Jun 2007 21:49:53 +0000 (+0000) Subject: ghc-pkg-inplace now has .bat extension on Windows X-Git-Tag: 2007-06-12~16 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=a9fcc06f3e7476e56903ffbaeaab0f158d7c494c ghc-pkg-inplace now has .bat extension on Windows --- diff --git a/libraries/Makefile b/libraries/Makefile index b04c83b..8ce10de 100644 --- a/libraries/Makefile +++ b/libraries/Makefile @@ -79,12 +79,6 @@ endif empty= space=$(empty) $(empty) -ifeq "$(Windows)" "YES" -dot_bat=.bat -else -dot_bat= -endif - # ----------------------------------------------------------------------------- ifneq "$(DOING_BIN_DIST)" "YES" diff --git a/mk/config.mk.in b/mk/config.mk.in index ae89765..5406c72 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -171,6 +171,12 @@ else Windows=NO endif +ifeq "$(Windows)" "YES" +dot_bat=.bat +else +dot_bat= +endif + # BootingFromHc - build GHC and the libraries from .hc files? BootingFromHc = @BootingFromHc@ @@ -752,7 +758,7 @@ GHC_TOUCHY_PGM = touchy$(exeext) GHC_MANGLER_PGM = ghc-asm GHC_SPLIT_PGM = ghc-split GHC_SYSMAN_PGM = SysMan -GHC_PKG_INPLACE_PGM = ghc-pkg-inplace +GHC_PKG_INPLACE_PGM = ghc-pkg-inplace$(dot_bat) GHC_GENPRIMOP_PGM = genprimopcode GHC_GENAPPLY_PGM = genapply GHC_MKDEPENDC_PGM = mkdependC