summaryrefslogtreecommitdiff
path: root/validate
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-06-16 00:48:49 +0100
committerIan Lynagh <igloo@earth.li>2011-06-16 00:48:49 +0100
commitbe4726edd34422d804b542d42dc0bb1f036ab2dd (patch)
treea60421e4ccc85b5e06b8de869c83fc9b8a872b1b /validate
parent76dbf0ce3db55cd498836c4cd31559fea4aa7be2 (diff)
downloadhaskell-be4726edd34422d804b542d42dc0bb1f036ab2dd.tar.gz
haddock the mtl package when validating
This fixes the ghcpkg05 test failure. (ghc-pkg check was complaining because the mtl docs didn't exist).
Diffstat (limited to 'validate')
-rwxr-xr-xvalidate11
1 files changed, 7 insertions, 4 deletions
diff --git a/validate b/validate
index 3ca888fba1..0a0677e908 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