Commit 7e97bc16 authored by Ian Lynagh's avatar Ian Lynagh

Fix gen_contents_index when not run inplace; trac #2764

Based on a patch from juhpetersen.
parent 46f8e009
......@@ -23,7 +23,7 @@ esac
for HADDOCK_FILE in $HADDOCK_FILES
do
NAME=` echo "$HADDOCK_FILE" | sed 's#/dist/.*##' | sed 's#.*/##' `
NAME=` echo "$HADDOCK_FILE" | sed 's#.*/##' | sed 's#\.haddock$##' `
HADDOCK_ARGS="$HADDOCK_ARGS --read-interface=$NAME,$HADDOCK_FILE"
NAMES="$NAMES $NAME"
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