diff options
| author | Simon Marlow <simonmar@microsoft.com> | 2006-02-02 12:43:59 +0000 |
|---|---|---|
| committer | Simon Marlow <simonmar@microsoft.com> | 2006-02-02 12:43:59 +0000 |
| commit | 2f0d9b271c16303f1f7f97b35df721fbbebd1cae (patch) | |
| tree | b890cab917d9c2f5d053f8bab283cb798c2c1e47 /ghc/compiler | |
| parent | 4c7b8ec3e7852f88f4c355de2745dc594d120819 (diff) | |
| download | haskell-2f0d9b271c16303f1f7f97b35df721fbbebd1cae.tar.gz | |
don't clean ghc-inplace when cleaning stages other than 1
Diffstat (limited to 'ghc/compiler')
| -rw-r--r-- | ghc/compiler/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ghc/compiler/Makefile b/ghc/compiler/Makefile index 72985607a0..0c877ce431 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 |
