diff options
author | Simon Marlow <marlowsd@gmail.com> | 2012-01-16 13:16:33 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2012-05-01 09:05:13 +0100 |
commit | cf85b75a8631c6ee9d8c4802b4b476ea56ddda8d (patch) | |
tree | 795dc42854cdebbaad874232386db49c5cd33fa6 /testsuite/mk/boilerplate.mk | |
parent | 3e467a9611619df716d9e4df5ba4fe143d1ca145 (diff) | |
download | haskell-cf85b75a8631c6ee9d8c4802b4b476ea56ddda8d.tar.gz |
Don't try to run ghc-config when cleaning
Diffstat (limited to 'testsuite/mk/boilerplate.mk')
-rw-r--r-- | testsuite/mk/boilerplate.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/mk/boilerplate.mk b/testsuite/mk/boilerplate.mk index ad794985f5..707c037a87 100644 --- a/testsuite/mk/boilerplate.mk +++ b/testsuite/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 # ----------------------------------------------------------------------------- |