[commit: ghc] master: haddock the mtl package when validating (be4726e)
Ian Lynagh
igloo at earth.li
Thu Jun 16 03:32:58 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/be4726edd34422d804b542d42dc0bb1f036ab2dd
>---------------------------------------------------------------
commit be4726edd34422d804b542d42dc0bb1f036ab2dd
Author: Ian Lynagh <igloo at earth.li>
Date: Thu Jun 16 00:48:49 2011 +0100
haddock the mtl package when validating
This fixes the ghcpkg05 test failure.
(ghc-pkg check was complaining because the mtl docs didn't exist).
>---------------------------------------------------------------
validate | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/validate b/validate
index 3ca888f..0a0677e 100755
--- 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
More information about the Cvs-ghc
mailing list