X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=libraries%2Fgen_contents_index;h=de20186d89d9d77513d87897db18a93057bf5458;hb=d5183f31fccf9009768eab3f9261dac6c66df59e;hp=7f7dc7045500f1ccc222529b9106165cf9829e2b;hpb=0c129b0785e6d5f3a5bc5e5c006fadc7d8af3a7a;p=ghc-hetmet.git diff --git a/libraries/gen_contents_index b/libraries/gen_contents_index index 7f7dc70..de20186 100644 --- a/libraries/gen_contents_index +++ b/libraries/gen_contents_index @@ -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?: