Commit 0c129b07 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Don't put package version numbers in links in index.html

parent d96e492a
...@@ -14,8 +14,7 @@ case $* in ...@@ -14,8 +14,7 @@ case $* in
HADDOCK_FILE=$NAME/dist/doc/html/$NAME/$NAME.haddock HADDOCK_FILE=$NAME/dist/doc/html/$NAME/$NAME.haddock
if [ -f $HADDOCK_FILE ] if [ -f $HADDOCK_FILE ]
then then
FULLNAME=$NAME-`$GHC_PKG field $NAME version | sed 's#^version: *##'` HADDOCK_ARGS="$HADDOCK_ARGS --read-interface=$NAME,$HADDOCK_FILE"
HADDOCK_ARGS="$HADDOCK_ARGS --read-interface=$FULLNAME,$HADDOCK_FILE"
NAMES="$NAMES $NAME" NAMES="$NAMES $NAME"
fi fi
done done
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment