@@ -11,11 +11,11 @@ file="$1" filename="$(basename "$file")" stem=${filename%%.md} -mandest=${out_manpage:-"$out/doc/man"} -htmldest=${out_html:-"$out/doc/html"} -pdfdest=${out_pdf:-"$out/doc/pdf"} +mandest=${manpage_to:-"$to/doc/man"} +htmldest=${html_to:-"$to/doc/html"} +pdfdest=${pdf_to:-"$to/doc/pdf"} section=${manual_section:-4} man="$mandest/$stem.$section" html="$htmldest/$stem.html"