summaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
Diffstat (limited to 'ghc.mk')
-rw-r--r--ghc.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/ghc.mk b/ghc.mk
index 42b1784045..9a2ba481cd 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -1175,6 +1175,7 @@ sdist-testsuite-prep :
mkdir -p $(SRC_DIST_TESTSUITE_DIR)
mkdir -p $(SRC_DIST_TESTSUITE_DIR)/testsuite
cd $(SRC_DIST_TESTSUITE_DIR)/testsuite && lndir $(TOP)/testsuite
+ cd $(SRC_DIST_TESTSUITE_DIR) && $(MAKE) distclean
.PHONY: sdist-ghc
sdist-ghc: sdist-ghc-prep