ghc-pkg-inplace now has .bat extension on Windows
authorIan Lynagh <igloo@earth.li>
Fri, 1 Jun 2007 21:49:53 +0000 (21:49 +0000)
committerIan Lynagh <igloo@earth.li>
Fri, 1 Jun 2007 21:49:53 +0000 (21:49 +0000)
libraries/Makefile
mk/config.mk.in

index b04c83b..8ce10de 100644 (file)
@@ -79,12 +79,6 @@ endif
 empty=
 space=$(empty) $(empty)
 
-ifeq "$(Windows)" "YES"
-dot_bat=.bat
-else
-dot_bat=
-endif
-
 # -----------------------------------------------------------------------------
 
 ifneq "$(DOING_BIN_DIST)" "YES"
index ae89765..5406c72 100644 (file)
@@ -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