From abefd6d92d843551679f777c21fa98ec4c5f05d0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 31 Jan 2016 08:48:20 +0200 Subject: Fix links in intro --- doc/cli.sh | 7 +++++-- doc/intro.cli | 2 +- 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 }. 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 }}. +under the hood, use \l{bpkg-common-options(1) \c{--verbose }}. 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++ -- cgit v1.1