aboutsummaryrefslogtreecommitdiff
path: root/doc/cli.sh
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-04-20 16:03:42 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-04-20 16:03:42 +0200
commitae4a7f8ad474ddeed54d70874438c74d8464e930 (patch)
treec013f1f611a2f00a5a0717920bae2921768aa27c /doc/cli.sh
parentabd7d15b6d36a892fc2c48dd3bda29dfd3b1f577 (diff)
New introduction, first take
Diffstat (limited to 'doc/cli.sh')
-rwxr-xr-xdoc/cli.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/cli.sh b/doc/cli.sh
index 8b844c6..6d99c25 100755
--- a/doc/cli.sh
+++ b/doc/cli.sh
@@ -36,6 +36,9 @@ function gen () # <name>
--html-epilogue-file doc-epilogue.xhtml \
--link-regex '%b([-.].+)%../../build2/doc/b$1%' \
--link-regex '%bpkg([-.].+)%../../bpkg/doc/bpkg$1%' \
+--link-regex '%bdep([-.].+)%../../bdep/doc/bdep$1%' \
+--link-regex '%b(#.+)?%../../build2/doc/build2-build-system-manual.xhtml$1%' \
+--link-regex '%bpkg(#.+)?%../../bpkg/doc/build2-package-manager-manual.xhtml$1%' \
--output-prefix build2-toolchain- "${@}" $n.cli
html2ps -f doc.html2ps:a4.html2ps -o build2-toolchain-$n-a4.ps build2-toolchain-$n.xhtml
@@ -45,10 +48,12 @@ html2ps -f doc.html2ps:letter.html2ps -o build2-toolchain-$n-letter.ps build2-to
ps2pdf14 -sPAPERSIZE=letter -dOptimize=true -dEmbedAllFonts=true build2-toolchain-$n-letter.ps build2-toolchain-$n-letter.pdf
}
+gen intro2
+gen intro
+
# Auto-heading doesn't work since it is broken into multiple doc strings.
#
gen install --html-heading-map 2=h2
-gen intro
# Generate INSTALL/BOOTSTRAP/UPGRADE file in ../
#