Don't make a library documentation prologue
authorIan Lynagh <igloo@earth.li>
Sat, 24 Nov 2007 21:19:43 +0000 (21:19 +0000)
committerIan Lynagh <igloo@earth.li>
Sat, 24 Nov 2007 21:19:43 +0000 (21:19 +0000)
It's far too large now, and no-one complained when 6.8.1 didn't have one.

libraries/gen_contents_index

index 7f7dc70..de20186 100644 (file)
@@ -30,30 +30,9 @@ case $* in
     ;;
 esac
 
-# Automagically create the prologue for the combined index via a
-# header, the package prologues (in alphabetical order of the
-# packages) and a footer.
-{
-    cat libraries-header.txt
-    echo
-    # Hack to find out if we're in a build tree or installed docs
-    for NAME in $NAMES
-    do
-        if [ "$NAME" != haskell98 ]
-        then
-            echo "[@${NAME}@]"
-            grep -v '^ *$$' "$NAME"/prologue.txt
-            echo
-        fi
-    done
-    cat libraries-footer.txt
-    echo
-} > libraries.txt
-
 # Now create the combined contents and index pages
 haddock --gen-index --gen-contents -o . \
         -t "Haskell Hierarchical Libraries" \
-        -p libraries.txt \
         $HADDOCK_ARGS
 
 # Unhandled Windows help stuff?: