From 2f0d9b271c16303f1f7f97b35df721fbbebd1cae Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Thu, 2 Feb 2006 12:43:59 +0000 Subject: [PATCH] don't clean ghc-inplace when cleaning stages other than 1 --- ghc/compiler/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 1.7.10.4