From e91eaaa7e754de7a62f7553b62fe279d957ebfca Mon Sep 17 00:00:00 2001
From: Simon Marlow <marlowsd@gmail.com>
Date: Tue, 12 Apr 2011 13:30:02 +0100
Subject: [PATCH] Make builds that use stage1 use "dist-install" consistently. 
 This makes it easier to remove everything built with stage1 in cases where
 the build system or GHC wrongly thinks everything is up to date.

---
 ghc.mk | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/ghc.mk b/ghc.mk
index 164dacf..9a8f8ad 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -10,10 +10,10 @@
 #
 # -----------------------------------------------------------------------------
 
-utils/hpc_dist_MODULES = Main HpcCombine HpcDraft HpcFlags HpcLexer \
+utils/hpc_dist-install_MODULES = Main HpcCombine HpcDraft HpcFlags HpcLexer \
 			 HpcMarkup HpcOverlay HpcParser HpcReport \
 			 HpcShowTix HpcUtils
-utils/hpc_dist_HC_OPTS = -cpp -package hpc
-utils/hpc_dist_INSTALL = YES
-utils/hpc_dist_PROG    = hpc$(exeext)
-$(eval $(call build-prog,utils/hpc,dist,1))
+utils/hpc_dist-install_HC_OPTS = -cpp -package hpc
+utils/hpc_dist-install_INSTALL = YES
+utils/hpc_dist-install_PROG    = hpc$(exeext)
+$(eval $(call build-prog,utils/hpc,dist-install,1))
-- 
GitLab