From: Simon Marlow Date: Thu, 2 Feb 2006 12:43:59 +0000 (+0000) Subject: don't clean ghc-inplace when cleaning stages other than 1 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=2f0d9b271c16303f1f7f97b35df721fbbebd1cae;hp=4c7b8ec3e7852f88f4c355de2745dc594d120819;p=ghc-hetmet.git don't clean ghc-inplace when cleaning stages other than 1 --- diff --git a/ghc/compiler/Makefile b/ghc/compiler/Makefile index 7298560..0c877ce 100644 --- a/ghc/compiler/Makefile +++ b/ghc/compiler/Makefile @@ -680,7 +680,11 @@ $(odir)/ghc-inplace : $(HS_PROG) ghc-inplace : stage1/ghc-inplace $(LN_S) -f $< $@ -CLEAN_FILES += $(odir)/ghc-inplace ghc-inplace +ifeq "$(stage)" "1" +CLEAN_FILES += ghc-inplace +endif + +CLEAN_FILES += $(odir)/ghc-inplace #----------------------------------------------------------------------------- # install