Commit 0bb84f80 authored by Simon Marlow's avatar Simon Marlow
Browse files

don't forget to clean the .bat files

See bug #1295
parent cbeb99ef
......@@ -717,6 +717,7 @@ all :: $(odir)/ghc-inplace ghc-inplace
ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
all :: $(odir)/ghc-inplace.bat ghc-inplace.bat
CLEAN_FILES += $(odir)/ghc-inplace.bat ghc-inplace.bat
endif
ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
......
......@@ -109,6 +109,8 @@ all :: $(INPLACE_SCRIPT_PROG).bat
$(INPLACE_SCRIPT_PROG).bat :
echo '@call $(subst /,\,$(FPTOOLS_TOP_ABS_PLATFORM)/utils/ghc-pkg/$(HS_PROG)) --global-conf $(PKGCONF) %*' >> $@
chmod 755 $@
CLEAN_FILES += $(INPLACE_SCRIPT_PROG).bat
endif
# ghc-pkg is needed to boot in rts/ and library dirs
......
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