From 7f67277f1606e9d734b96fc6ab5c0d809c805a9f Mon Sep 17 00:00:00 2001 From: Ivan Komissarov Date: Fri, 24 Jul 2020 18:53:56 +0200 Subject: doc: follow up fixes for the "Installing files" section Amends 0ac5a1467. Change-Id: I4b4a636765a17e1808ca6573e504660525448386 Reviewed-by: Oswald Buddenhagen --- doc/qbs.qdoc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/qbs.qdoc b/doc/qbs.qdoc index e91424685..016d7d619 100644 --- a/doc/qbs.qdoc +++ b/doc/qbs.qdoc @@ -1530,7 +1530,7 @@ \c{/install-root}. The \l{qbs::installPrefix}{qbs.installPrefix} and \l{qbs::installDir}{qbs.installDir} properties are appended to the root folder. \code - $ qbs build qbs.installPrefix:/usr + qbs build qbs.installPrefix:/usr \endcode In this example, the executable will be installed into the \c{/install-root/usr/bin} folder and the QML files will be installed into the @@ -1541,12 +1541,12 @@ To override the default location, use the \c --install-root option of the \c{qbs install} command: \code - $ qbs build --no-install qbs.installPrefix:/usr - # qbs install --no-build --install-root / + qbs build --no-install qbs.installPrefix:/usr + sudo qbs install --no-build --install-root / \endcode In this example, artifacts will be installed directly into the \c /usr folder. Since the \c{qbs install} command implies \c build, we use the \c --no-build parameter to ensure that - we do not accidentally rebuild the project, thereby changing the artifacts owner to \c root. + we do not accidentally rebuild the project, thereby changing the artifacts' owner to \c root. Sometimes, it makes sense to install the application into a temporary root folder, keeping the same folder structure within that root folder as in the examples above; for instance, @@ -1564,7 +1564,7 @@ parameter: \code - $ qbs install --clean-install-root --install-root /tmp/myProjectRoot + qbs install --clean-install-root --install-root /tmp/myProjectRoot \endcode For more information about how the installation path is constructed, see -- cgit v1.2.3