diff options
author | Thomas Miedema <thomasmiedema@gmail.com> | 2015-05-26 16:07:40 +0200 |
---|---|---|
committer | Thomas Miedema <thomasmiedema@gmail.com> | 2015-05-30 16:49:08 +0200 |
commit | 4de8028d702abbf74cc2abf0c2bfe0c1ec29c26d (patch) | |
tree | 914fcdf46ddc2694d48ec34223d38f996623d131 /testsuite/mk | |
parent | 51aacde6f0eab264099330b8d69aa2deb9810917 (diff) | |
download | haskell-4de8028d702abbf74cc2abf0c2bfe0c1ec29c26d.tar.gz |
Build system: check $CLEANING instead of $MAKECMDGOALS
To check if we're cleaning, always check the $CLEANING variable, instead
of sometimes $CLEANING, sometimes $MAKECMDGOALS.
[skip ci]
Diffstat (limited to 'testsuite/mk')
-rw-r--r-- | testsuite/mk/boilerplate.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/mk/boilerplate.mk b/testsuite/mk/boilerplate.mk index 43bc4dfb08..f8b1dcb1df 100644 --- a/testsuite/mk/boilerplate.mk +++ b/testsuite/mk/boilerplate.mk @@ -187,6 +187,7 @@ $(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 +# Note: $(CLEANING) is not defined in the testsuite. ifeq "$(findstring clean,$(MAKECMDGOALS))" "" include $(ghc-config-mk) endif |