aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-02-09 08:47:16 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-02-09 08:47:59 +0200
commit01d4787695cec0e1ed94d34bcb20b6b14bb81290 (patch)
treed0312e3834f8168f4ed1c4add01321b1fb8a26c1
parentefc8c2124291c7361fad8c3b800bde89a2d8eef6 (diff)
Adjust installation documentation to use update-for-install
-rw-r--r--INSTALL.cli18
1 files changed, 13 insertions, 5 deletions
diff --git a/INSTALL.cli b/INSTALL.cli
index d117e28..e80e59e 100644
--- a/INSTALL.cli
+++ b/INSTALL.cli
@@ -83,7 +83,7 @@ Then, we rebuild the build system with the result of Phase 1 linking
libraries statically.
\
-$ build2/b-boot config.cxx=g++ config.bin.lib=static
+$ build2/b-boot config.cxx=g++ config.bin.lib=static build2/exe{b}
$ mv build2/b build2/b-boot
$ build2/b-boot --version
@@ -93,7 +93,7 @@ Or, alternatively, for an out of tree build:
\
$ build2-boot/build2/b-boot config.cxx=g++ config.bin.lib=static \
- build2-X.Y.Z/@build2-static/
+ build2-X.Y.Z/build2/@build2-static/build2/exe{b}
$ build2-static/build2/b --version
\
@@ -116,8 +116,16 @@ $ build2/b-boot configure \
$ build2/b-boot
\
-I you are not planning to install the result you can omit the
-\c{config.install.*} values as well as \c{.rpath}.
+If you are only interested in installing the result, then you can avoid
+building tests by specifying the \c{update-for-install} operation in the last
+command:
+
+\
+$ build2/b-boot update-for-install
+\
+
+On the other hand, if I you are not planning to install the result, then you
+can omit the \c{config.install.*} values as well as \c{.rpath}.
To install:
@@ -145,7 +153,7 @@ $ build2-static/build2/b configure: build2-X.Y.Z/@build2-shared/ \
config.install.root=/usr/local \
config.install.sudo=sudo
-$ build2-static/build2/b build2-shared/
+$ build2-static/build2/b update-for-install: build2-shared/
$ build2-static/build2/b install: build2-shared/