From 228c19b0e8a5af4baa51e720f23202422b22ad10 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Wed, 23 Jul 2008 14:32:01 +0000 Subject: [PATCH] add a "rebuild" target for convenience --- ghc/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ghc/Makefile b/ghc/Makefile index fba3e9f..806db1a 100644 --- a/ghc/Makefile +++ b/ghc/Makefile @@ -17,6 +17,11 @@ boot:: boot.stage.$(stage) all:: build.stage.$(stage) +rebuild :: + -$(CABAL) clean --distpref dist-stage$(stage) + $(RM) -rf stage$(stage)-inplace + $(MAKE) boot all + stage1 :: $(MAKE) stage=1 -- 1.7.10.4