Differences From
Artifact [790e90297c]:
51 51 echo >>"$fmt" ".SH DESCRIPTION"
52 52
53 53 tail -n+$(expr $descline + $offset) "$file" | cmark -t man >> "$fmt"
54 54
55 55 test "$doc_html" = "yes" && {
56 56 mkdir -p "$htmldest"
57 57 groff -Thtml -Kutf8 -m man "$fmt" > "$html"
58 + test "$verbose" != "loud" ||
58 59 say "wrote html page for $stem to $html"
59 60 }
60 61
61 62 test "$doc_pdf" = "yes" && {
62 63 mkdir -p "$pdfdest"
63 64 groff -Tpdf -Kutf8 -m man "$fmt" > "$pdf"
65 + test "$verbose" != "loud" ||
64 66 say "wrote pdf for $stem to $pdf"
65 67 }
66 68
67 69 test "$doc_man" = "yes" && {
68 70 mkdir -p "$mandest"
69 71
70 72 if has gzip; then
71 73 man="$man.gz"
72 74 gzip -c -f "$fmt" > "$man"
73 75 else
74 76 mv "$fmt" "$man"
75 77 fi
76 78
79 + test "$verbose" != "loud" ||
77 80 say "wrote manpage for $stem to $man"
78 81 }