11 (cd tmp; $checkoutdir/Configure cc && make build_html_docs)
14 (cd $srcdir; find -type f) | while read F; do
16 Fn=$(basename $F .html)
18 $HERE/strip-man-html < $srcdir/$F > $destdir/$G
20 section=$(basename $Dn | sed -e 's|^man||')
21 description="$($HERE/all-html-man-names < $destdir/$G | sed 's|^.* - ||')"
22 names="$($HERE/all-html-man-names < $destdir/$G | sed -e 's| - .*||' -e 's|, *| |g' -e 's|/|-|g')"
23 for name in $names; do
25 cat $HERE/../inc/manpage-template.html5 \
27 -e "s|\\\$release\\\$|$series|g" \
28 -e "s|\\\$sectnum\\\$|$section|g" \
29 -e "s|\\\$description\\\$|$description|g" \
30 -e "s|\\\$name\\\$|$name|g" \
31 -e "s|\\\$origname\\\$|$Fn|g" \