aboutsummaryrefslogtreecommitdiff
path: root/doc/cli.sh
diff options
context:
space:
mode:
Diffstat (limited to 'doc/cli.sh')
-rwxr-xr-xdoc/cli.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/cli.sh b/doc/cli.sh
index a376fad..37c54f5 100755
--- a/doc/cli.sh
+++ b/doc/cli.sh
@@ -32,8 +32,8 @@ function gen () # <name>
--generate-html --html-suffix .xhtml \
--html-prologue-file doc-prologue.xhtml \
--html-epilogue-file doc-epilogue.xhtml \
---link-regex '%b([-.].+)%../../build2/doc/b$n%' \
---link-regex '%bpkg([-.].+)%../../bpkg/doc/bpkg$n%' \
+--link-regex '%b([-.].+)%../../build2/doc/b$1%' \
+--link-regex '%bpkg([-.].+)%../../bpkg/doc/bpkg$1%' \
--output-prefix build2-toolchain- "${@}" $n.cli
html2ps -f doc.html2ps:a4.html2ps -o build2-toolchain-$n-a4.ps build2-toolchain-$n.xhtml