haddock the mtl package when validating
authorIan Lynagh <igloo@earth.li>
Wed, 15 Jun 2011 23:48:49 +0000 (00:48 +0100)
committerIan Lynagh <igloo@earth.li>
Wed, 15 Jun 2011 23:48:49 +0000 (00:48 +0100)
This fixes the ghcpkg05 test failure.
(ghc-pkg check was complaining because the mtl docs didn't exist).

validate

index 3ca888f..0a0677e 100755 (executable)
--- a/validate
+++ b/validate
@@ -95,10 +95,13 @@ $make test_bindist TEST_PREP=YES
 #
 bindistdir="bindisttest/install dir"
 cd libraries/mtl
-"$thisdir/$bindistdir/bin/runhaskell" Setup.hs configure --with-ghc="$thisdir/$bindistdir/bin/ghc" --global --builddir=dist-bindist --prefix="$thisdir/$bindistdir"
-"$thisdir/$bindistdir/bin/runhaskell" Setup.hs build  --builddir=dist-bindist
-"$thisdir/$bindistdir/bin/runhaskell" Setup.hs install  --builddir=dist-bindist
-"$thisdir/$bindistdir/bin/runhaskell" Setup.hs clean  --builddir=dist-bindist
+"$thisdir/$bindistdir/bin/ghc" --make Setup
+./Setup configure --with-ghc="$thisdir/$bindistdir/bin/ghc" --with-haddock="$thisdir/$bindistdir/bin/haddock" --global --builddir=dist-bindist --prefix="$thisdir/$bindistdir"
+./Setup build   --builddir=dist-bindist
+./Setup haddock --builddir=dist-bindist
+./Setup install --builddir=dist-bindist
+./Setup clean   --builddir=dist-bindist
+rm -f Setup Setup.exe Setup.hi Setup.o
 cd $thisdir
 
 fi # testsuite-only