make sdist: distclean testsuite for real (#10406)
authorThomas Miedema <thomasmiedema@gmail.com>
Tue, 9 Jun 2015 12:31:40 +0000 (14:31 +0200)
committerThomas Miedema <thomasmiedema@gmail.com>
Tue, 9 Jun 2015 12:31:40 +0000 (14:31 +0200)
ghc.mk

diff --git a/ghc.mk b/ghc.mk
index 9a2ba48..93da0cb 100644 (file)
--- a/ghc.mk
+++ b/ghc.mk
@@ -1175,7 +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
+       cd $(SRC_DIST_TESTSUITE_DIR)/testsuite && $(MAKE) distclean
 
 .PHONY: sdist-ghc
 sdist-ghc: sdist-ghc-prep