projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06781a4
)
Don't clean the multi-stage stuff unless CLEAN_ALL_STAGES is YES
author
Ian Lynagh
<igloo@earth.li>
Sun, 17 Aug 2008 12:10:00 +0000
(12:10 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Sun, 17 Aug 2008 12:10:00 +0000
(12:10 +0000)
compiler/Makefile
patch
|
blob
|
history
diff --git
a/compiler/Makefile
b/compiler/Makefile
index
51ba8b9
..
eabf9c6
100644
(file)
--- a/
compiler/Makefile
+++ b/
compiler/Makefile
@@
-55,6
+55,7
@@
stage2 ::
stage3 ::
$(MAKE) stage=3
+ifeq "$(CLEAN_ALL_STAGES)" "YES"
clean distclean::
$(RM) -f prelude/primops.txt
$(RM) -f $(PRIMOP_BITS)
@@
-62,6
+63,7
@@
clean distclean::
$(RM) -f parser/Parser.y
$(RM) -rf stage1 stage2plus
$(RM) -f $(STAGE3_PACKAGE_CONF)
+endif
ifeq "$(CLEAN_ALL_STAGES)" "YES"
clean distclean:: clean.stage.1 clean.stage.2 clean.stage.3