X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=ghc%2FMakefile;h=23a5384d58d6747bbb8c3457caa069f35a3b01fe;hb=894775f034d278ff5493eeaf8587914626e8df21;hp=c0664df5fd9fda6a5ee695ba77fd82e8b622ec6e;hpb=51d7126ec1ac139e583af6375cde09acb8ddfed4;p=ghc-hetmet.git diff --git a/ghc/Makefile b/ghc/Makefile index c0664df..23a5384 100644 --- a/ghc/Makefile +++ b/ghc/Makefile @@ -47,8 +47,12 @@ distclean:: endif clean.stage.%: - -$(CABAL) clean --distpref dist-stage$* $(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