[commit: ghc] master: Build system: prevent "./Setup: Command not found" (0bfd05e)

git at git.haskell.org git at git.haskell.org
Sat May 30 15:08:44 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/0bfd05e5995884a5377e31fc24b88ce16b6b5792/ghc

>---------------------------------------------------------------

commit 0bfd05e5995884a5377e31fc24b88ce16b6b5792
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date:   Tue May 26 15:19:08 2015 +0200

    Build system: prevent "./Setup: Command not found"
    
    [skip ci]


>---------------------------------------------------------------

0bfd05e5995884a5377e31fc24b88ce16b6b5792
 testsuite/timeout/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuite/timeout/Makefile b/testsuite/timeout/Makefile
index e7335df..b910a73 100644
--- a/testsuite/timeout/Makefile
+++ b/testsuite/timeout/Makefile
@@ -62,7 +62,7 @@ endif
 endif
 
 clean distclean maintainer-clean:
-	-./Setup clean
+	test ! -f Setup || ./Setup clean
 	$(RM) -rf install-inplace
 	$(RM) -f calibrate.out
 	$(RM) -f Setup Setup.exe Setup.hi Setup.o



More information about the ghc-commits mailing list