summaryrefslogtreecommitdiff
path: root/libraries/gen_contents_index
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-08-28 12:48:14 +0000
committerIan Lynagh <igloo@earth.li>2008-08-28 12:48:14 +0000
commit4a73af53332e94ca56a6faed96f8391c14ecfa18 (patch)
tree29a312c4d5ec9c04e383a58c8c856905a318fd84 /libraries/gen_contents_index
parentc35325dd60a671e6e7fcc513fc3ae02586106c4c (diff)
downloadhaskell-4a73af53332e94ca56a6faed96f8391c14ecfa18.tar.gz
Update the build system to handle building and using haddock2
One side-effect of this is that we need to build the install-utils with stage2 rather than stage1 as we need the ghc package.
Diffstat (limited to 'libraries/gen_contents_index')
-rw-r--r--libraries/gen_contents_index7
1 files changed, 4 insertions, 3 deletions
diff --git a/libraries/gen_contents_index b/libraries/gen_contents_index
index 4ddb58a0e2..8129bebd41 100644
--- a/libraries/gen_contents_index
+++ b/libraries/gen_contents_index
@@ -2,6 +2,7 @@
set -e
+HADDOCK=../utils/haddock/install-inplace/bin/haddock
HADDOCK_ARGS=
NAMES=
@@ -22,9 +23,9 @@ do
done
# Now create the combined contents and index pages
-haddock --gen-index --gen-contents -o . \
- -t "Haskell Hierarchical Libraries" \
- $HADDOCK_ARGS
+$HADDOCK --gen-index --gen-contents -o . \
+ -t "Haskell Hierarchical Libraries" \
+ $HADDOCK_ARGS
# Unhandled Windows help stuff?: