diff options
-rw-r--r-- | testsuite/mk/boilerplate.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/mk/boilerplate.mk b/testsuite/mk/boilerplate.mk index 7b1c465e55..b8703cf900 100644 --- a/testsuite/mk/boilerplate.mk +++ b/testsuite/mk/boilerplate.mk @@ -1,6 +1,11 @@ default: all +# If we're cleaning then we don't want to do all the GHC detection hardwork, +# and we certainly don't want to fail if GHC etc can't be found! +ifneq "$(MAKECMDGOALS)" "clean" +ifneq "$(MAKECMDGOALS)" "distclean" + HAVE_EVAL := NO $(eval HAVE_EVAL := YES) @@ -104,3 +109,6 @@ CP = cp RM = rm -f PYTHON = python +endif +endif + |