diff options
author | Douglas Wilson <douglas.wilson@gmail.com> | 2017-08-22 08:44:00 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-08-22 11:09:05 -0400 |
commit | afc2f7989ea973f201a28d95abb24b22269c5256 (patch) | |
tree | 6e8630d53c56a215630f169f8f563c4219f20d40 | |
parent | 8fd959998e900dffdb7f752fcd42df7aaedeae6e (diff) | |
download | haskell-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
-rw-r--r-- | ghc.mk | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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) |