diff options
author | Ian Lynagh <igloo@earth.li> | 2007-11-24 21:16:29 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2007-11-24 21:16:29 +0000 |
commit | 0c129b0785e6d5f3a5bc5e5c006fadc7d8af3a7a (patch) | |
tree | b000f7d78aff1b448f267b3ae4b93cb9af5e1789 /libraries/gen_contents_index | |
parent | d96e492a22b731d72ad3e80cae2e2a773f044d7c (diff) | |
download | haskell-0c129b0785e6d5f3a5bc5e5c006fadc7d8af3a7a.tar.gz |
Don't put package version numbers in links in index.html
Diffstat (limited to 'libraries/gen_contents_index')
-rw-r--r-- | libraries/gen_contents_index | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libraries/gen_contents_index b/libraries/gen_contents_index index fd9048b0be..7f7dc70455 100644 --- a/libraries/gen_contents_index +++ b/libraries/gen_contents_index @@ -14,8 +14,7 @@ case $* in HADDOCK_FILE=$NAME/dist/doc/html/$NAME/$NAME.haddock if [ -f $HADDOCK_FILE ] then - FULLNAME=$NAME-`$GHC_PKG field $NAME version | sed 's#^version: *##'` - HADDOCK_ARGS="$HADDOCK_ARGS --read-interface=$FULLNAME,$HADDOCK_FILE" + HADDOCK_ARGS="$HADDOCK_ARGS --read-interface=$NAME,$HADDOCK_FILE" NAMES="$NAMES $NAME" fi done |