[commit: testsuite] master: Don't try to run ghc-config when cleaning (4c908e8)
Simon Marlow
marlowsd at gmail.com
Tue May 1 10:05:25 CEST 2012
Repository : ssh://darcs.haskell.org//srv/darcs/testsuite
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/4c908e8b4f9a2d46b7edaf2cf4fb825ece8579a0
>---------------------------------------------------------------
commit 4c908e8b4f9a2d46b7edaf2cf4fb825ece8579a0
Author: Simon Marlow <marlowsd at gmail.com>
Date: Mon Jan 16 13:16:33 2012 +0000
Don't try to run ghc-config when cleaning
>---------------------------------------------------------------
mk/boilerplate.mk | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/mk/boilerplate.mk b/mk/boilerplate.mk
index ad79498..707c037 100644
--- a/mk/boilerplate.mk
+++ b/mk/boilerplate.mk
@@ -149,7 +149,9 @@ $(ghc-config-mk) : $(TOP)/mk/ghc-config
$(TOP)/mk/ghc-config "$(TEST_HC)" >"$@"; if [ $$? != 0 ]; then $(RM) "$@"; exit 1; fi
# If the ghc-config fails, remove $@, and fail
+ifeq "$(findstring clean,$(MAKECMDGOALS))" ""
include $(ghc-config-mk)
+endif
# -----------------------------------------------------------------------------
More information about the Cvs-ghc
mailing list