From 0bb84f80166f576290451d7d5ee4d18b54386fb1 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Fri, 27 Apr 2007 12:12:03 +0000 Subject: [PATCH] don't forget to clean the .bat files See bug #1295 --- compiler/Makefile | 1 + utils/ghc-pkg/Makefile | 2 ++ 2 files changed, 3 insertions(+) diff --git a/compiler/Makefile b/compiler/Makefile index 9093d9a..19fba4e 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -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" diff --git a/utils/ghc-pkg/Makefile b/utils/ghc-pkg/Makefile index 982c7a8..897bd73 100644 --- a/utils/ghc-pkg/Makefile +++ b/utils/ghc-pkg/Makefile @@ -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 -- 1.7.10.4