aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-05-23 12:48:51 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-05-23 12:48:51 +0200
commit1cab4fbd051ee5a71f073446ad5ad1b3d79f1031 (patch)
treeb87ac61e9a096167de4c253ee60e88e438b4e6ad
parent01b11f060e656c00f875d05a8d4b283f524b0358 (diff)
Update documentation
-rw-r--r--bpkg/cfg-create.cli10
-rwxr-xr-xdoc/cli.sh3
2 files changed, 7 insertions, 6 deletions
diff --git a/bpkg/cfg-create.cli b/bpkg/cfg-create.cli
index 73d2ab7..a7eb1f4 100644
--- a/bpkg/cfg-create.cli
+++ b/bpkg/cfg-create.cli
@@ -24,17 +24,17 @@ namespace bpkg
The \cb{cfg-create} command creates a new \cb{bpkg} configuration with
the specified \cb{build2} modules and configuration variables. The
- \cb{bpkg} configuration itself is a build system configuration; see the
- \cb{build2} \cb{create} meta-operation for details.
+ \cb{bpkg} configuration itself is a build system configuration; see
+ build system driver (\l{b(1)}) \cb{create} meta-operation for details.
Unless the \cb{--wipe} option is specified, \cb{cfg-create} expects the
configuration directory to be empty or to not exist (in which case it
will be created).
By default, the resulting configuration loads the \cb{config}, \cb{test},
- and \cb{install} modules. However, additional modules and, if required,
- their configuration variables can be specified as the \cb{cfg-create}
- arguments. For example:
+ \cb{dist}, and \cb{install} modules. However, additional modules and, if
+ required, their configuration variables can be specified as the
+ \cb{cfg-create} arguments. For example:
\
bpkg create cxx config.cxx=clang++ config.install.root=/usr/local
diff --git a/doc/cli.sh b/doc/cli.sh
index a9d8a6c..f04da12 100755
--- a/doc/cli.sh
+++ b/doc/cli.sh
@@ -38,7 +38,8 @@ function compile ()
cli -I .. -v project="bpkg" -v version="$version" -v date="$date" \
--include-base-last "${o[@]}" --generate-html --html-prologue-file \
- man-prologue.xhtml --html-epilogue-file man-epilogue.xhtml --html-suffix .xhtml \
+ man-prologue.xhtml --html-epilogue-file man-epilogue.xhtml --html-suffix .xhtml \
+--link-regex '%b([-.].+)%../../build2/doc/b$1%' \
--link-regex '%b(#.+)?%../../build2/doc/build2-build-system-manual.xhtml$1%' \
--link-regex '%bpkg(#.+)?%build2-package-manager-manual.xhtml$1%' \
../bpkg/$n.cli