projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46f8e00
)
Fix gen_contents_index when not run inplace; trac #2764
author
Ian Lynagh
<igloo@earth.li>
Sun, 16 Nov 2008 17:41:22 +0000
(17:41 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Sun, 16 Nov 2008 17:41:22 +0000
(17:41 +0000)
Based on a patch from juhpetersen.
libraries/gen_contents_index
patch
|
blob
|
history
diff --git
a/libraries/gen_contents_index
b/libraries/gen_contents_index
index
2f33fc4
..
ea9f4b9
100644
(file)
--- a/
libraries/gen_contents_index
+++ b/
libraries/gen_contents_index
@@
-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