Differences From
Artifact [5a75b066a8]:
8 8 reqpack cmark "generate documentation"
9 9 check gen "a directory for generated build dependencies"
10 10
11 11 file="$1"
12 12 filename="$(basename "$file")"
13 13 stem=${filename%%.md}
14 14
15 -mandest=${out_manpage:-"$out/doc/man"}
16 -htmldest=${out_html:-"$out/doc/html"}
17 -pdfdest=${out_pdf:-"$out/doc/pdf"}
15 +mandest=${manpage_to:-"$to/doc/man"}
16 +htmldest=${html_to:-"$to/doc/html"}
17 +pdfdest=${pdf_to:-"$to/doc/pdf"}
18 18
19 19 section=${manual_section:-4}
20 20 man="$mandest/$stem.$section"
21 21 html="$htmldest/$stem.html"
22 22 pdf="$pdfdest/$stem.pdf"
23 23 fmt="$gen/$stem.tmp"
24 24