projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4c7b8ec
)
don't clean ghc-inplace when cleaning stages other than 1
author
Simon Marlow
<simonmar@microsoft.com>
Thu, 2 Feb 2006 12:43:59 +0000
(12:43 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Thu, 2 Feb 2006 12:43:59 +0000
(12:43 +0000)
ghc/compiler/Makefile
patch
|
blob
|
history
diff --git
a/ghc/compiler/Makefile
b/ghc/compiler/Makefile
index
7298560
..
0c877ce
100644
(file)
--- 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