8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
reqpack cmark "generate documentation"
check gen "a directory for generated build dependencies"
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"}
section=${manual_section:-4}
man="$mandest/$stem.$section"
html="$htmldest/$stem.html"
pdf="$pdfdest/$stem.pdf"
fmt="$gen/$stem.tmp"
|
|
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
reqpack cmark "generate documentation"
check gen "a directory for generated build dependencies"
file="$1"
filename="$(basename "$file")"
stem=${filename%%.md}
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"
pdf="$pdfdest/$stem.pdf"
fmt="$gen/$stem.tmp"
|