3c9c407
--- ghc-6.8.3/libraries/Makefile~	2008-06-17 23:10:28.000000000 -0700
3c9c407
+++ ghc-6.8.3/libraries/Makefile	2008-06-17 23:21:21.000000000 -0700
3c9c407
@@ -256,6 +256,8 @@
3c9c407
 	           --with-hc-pkg=../../utils/ghc-pkg/ghc-pkg-inplace \
3c9c407
 	           --with-hsc2hs=../../utils/hsc2hs/hsc2hs-inplace \
3c9c407
 	           --with-ld=$(LD) \
3c9c407
+	           --with-haddock=$(HADDOCK) \
3c9c407
+	           --with-happy=$(HAPPY) \
3c9c407
 	           --haddock-options="--use-contents=../index.html \
3c9c407
 	                           --use-index=../doc-index.html" \
3c9c407
 	           $(FLAGGED_CONFIGURE_ARGS) \
3c9c407
--- ghc-6.8.3/libraries/gen_contents_index~	2008-06-18 20:40:39.000000000 -0700
3c9c407
+++ ghc-6.8.3/libraries/gen_contents_index	2008-06-18 20:40:50.000000000 -0700
3c9c407
@@ -22,7 +22,7 @@
3c9c407
 done
3c9c407
 
3c9c407
 # Now create the combined contents and index pages
3c9c407
-haddock --gen-index --gen-contents -o . \
3c9c407
+haddock-0.9 --gen-index --gen-contents -o . \
3c9c407
         -t "Haskell Hierarchical Libraries" \
3c9c407
         $HADDOCK_ARGS
3c9c407