aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-01-31 08:48:20 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-01-31 08:48:20 +0200
commitabefd6d92d843551679f777c21fa98ec4c5f05d0 (patch)
tree76b2459a61ae6e2f10d21093012a96ad36b23965
parent3caa04d93d9823a8a3e24361659ca8d8fd4b323a (diff)
Fix links in intro
-rwxr-xr-xdoc/cli.sh7
-rw-r--r--doc/intro.cli2
2 files changed, 6 insertions, 3 deletions
diff --git a/doc/cli.sh b/doc/cli.sh
index c315efa..2b0d030 100755
--- a/doc/cli.sh
+++ b/doc/cli.sh
@@ -22,10 +22,13 @@ build2-toolchain-intro.pdf
esac
done
-cli -I .. -v version="$version" -v date="$date" --generate-html \
+cli -I .. -v version="$version" -v date="$date" \
+--generate-html --html-suffix .xhtml \
--html-prologue-file intro-prologue.xhtml \
--html-epilogue-file intro-epilogue.xhtml \
---html-suffix .xhtml --output-prefix build2-toolchain- intro.cli
+--link-regex '%b([-.].+)%../../build2/doc/b$1%' \
+--link-regex '%bpkg([-.].+)%../../bpkg/doc/bpkg$1%' \
+--output-prefix build2-toolchain- intro.cli
#html2ps -f intro.html2ps -o build2-toolchain-intro.ps build2-toolchain-intro.xhtml
#ps2pdf14 build2-toolchain-intro.ps build2-toolchain-intro.pdf
diff --git a/doc/intro.cli b/doc/intro.cli
index 1abc4e8..8401ed6 100644
--- a/doc/intro.cli
+++ b/doc/intro.cli
@@ -137,7 +137,7 @@ to get help for any \c{bpkg} command, run \c{bpkg help <command>}. To see a
list of commands, run just \l{bpkg-help(1) \c{bpkg help}} (or see
\l{bpkg(1)}). While we are at it, if you ever want to see what \c{bpkg} is
running underneath, there is the \c{-v} option. And if you really want to get
-under the hood, use \l{bpkg-common(1) \c{--verbose <level>}}.
+under the hood, use \l{bpkg-common-options(1) \c{--verbose <level>}}.
After the command we have \c{cxx} which is the name of the \c{build2} build
system module. As you might have guessed, \c{cxx} provides support for the C++