summaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
authorDouglas Wilson <douglas.wilson@gmail.com>2017-08-22 08:44:00 -0400
committerBen Gamari <ben@smart-cactus.org>2017-08-22 11:09:05 -0400
commitafc2f7989ea973f201a28d95abb24b22269c5256 (patch)
tree6e8630d53c56a215630f169f8f563c4219f20d40 /ghc.mk
parent8fd959998e900dffdb7f752fcd42df7aaedeae6e (diff)
downloadhaskell-afc2f7989ea973f201a28d95abb24b22269c5256.tar.gz
Move validate cleaning from distclean to clean
This bit me today: I was in validate mode without realising it and "make clean" didn't help. I don't see a reason for this to be in distclean, as it isn't generated by ./configure, which is the rule described in https://ghc.haskell.org/trac/ghc/wiki/Building/Using Test Plan: Is there a reason for this to be in distclean? Reviewers: austin, bgamari Reviewed By: bgamari Subscribers: rwbarton, thomie Differential Revision: https://phabricator.haskell.org/D3814
Diffstat (limited to 'ghc.mk')
-rw-r--r--ghc.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/ghc.mk b/ghc.mk
index 55cc1197c5..4a2f703276 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -1366,6 +1366,8 @@ clean_files :
$(call removeTrees,inplace/bin)
$(call removeTrees,inplace/lib)
$(call removeTrees,libraries/bootstrapping.conf)
+# Clean the files that ./validate creates.
+ $(call removeFiles,mk/are-validating.mk)
.PHONY: clean_libraries
clean_libraries: $(patsubst %,clean_libraries/%_dist-install,$(PACKAGES_STAGE1) $(PACKAGES_STAGE2))
@@ -1398,9 +1400,6 @@ clean_bindistprep:
$(call removeTrees,bindistprep/)
distclean : clean
-# Clean the files that ./validate creates.
- $(call removeFiles,mk/are-validating.mk)
-
# Clean the files that we ask ./configure to create.
$(call removeFiles,mk/config.mk)
$(call removeFiles,mk/install.mk)