aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/gen-eclass-html.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/gen-eclass-html.sh b/bin/gen-eclass-html.sh
index db19761..6ecfe9c 100755
--- a/bin/gen-eclass-html.sh
+++ b/bin/gen-eclass-html.sh
@@ -112,6 +112,9 @@ for i in $(/usr/bin/qlist eclass-manpages) /usr/share/man/man5/ebuild.5*; do
-e 's:<A HREF="[^"]*//localhost/[^"]*">\([^<>]*\)</A>:\1:g' \
-e 's:<A HREF="[^"]*\${[^"]*">\([^<>]*\)</A>:\1:g' \
-e 's:<TT>\([^<>]*\)</TT>:\1:g' \
+ -e 's:<DL COMPACT>:<DL>:g' \
+ -e 's:<TR VALIGN=top>:<TR>:g' \
+ -e '/<A NAME/{N;s:<A NAME=\(.*\)>.*</A>\(.*<H[1-6]\)>:\2 ID=\1>:}' \
>> "${FINAL}"
echo -n "${FOOTER}" >> "${FINAL}"
done