Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
0c129b07
Commit
0c129b07
authored
Nov 24, 2007
by
Ian Lynagh
Browse files
Don't put package version numbers in links in index.html
parent
d96e492a
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/gen_contents_index
View file @
0c129b07
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment