projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Be more forceful when cleaning in compiler/ and ghc/
[ghc-hetmet.git]
/
ghc
/
Makefile
diff --git
a/ghc/Makefile
b/ghc/Makefile
index
c0664df
..
23a5384
100644
(file)
--- a/
ghc/Makefile
+++ b/
ghc/Makefile
@@
-47,8
+47,12
@@
distclean::
endif
clean.stage.%:
endif
clean.stage.%:
- -$(CABAL) clean --distpref dist-stage$*
$(RM) -rf stage$*-inplace
$(RM) -rf stage$*-inplace
+# This is a bit naughty. We ought to use:
+# -$(CABAL) clean --distpref dist-stage$*
+# but that won't work if the Cabal file (a generated file) doesn't
+# exist. So we do this instead:
+ $(RM) -rf dist-stage$*
CONFIGURE_FLAGS_STAGE1 += --flags=-ghci
CONFIGURE_FLAGS_STAGE1 += --flags=-ghci