aboutsummaryrefslogtreecommitdiffstats
path: root/docs/usermanual/chapters/common_use_cases.xml
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2009-08-11 12:59:29 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2009-08-11 12:59:29 +0200
commit43649c644a8ecf2ba6035ce8b0ffd44948497aac (patch)
tree67eeb844f367b01cc77624db0d1e45ce7ddf7512 /docs/usermanual/chapters/common_use_cases.xml
parent5eb5026f290d27352958ae5bbcdf524c3f6361e1 (diff)
downloadopenembedded-43649c644a8ecf2ba6035ce8b0ffd44948497aac.tar.gz
usermanual: Improve consistency in displaying shell commands
Use $ <command>NAME</command> for all shell commands on the host throughout the docbook. $ was picked over the other three candidates due being the oldest one we have used.
Diffstat (limited to 'docs/usermanual/chapters/common_use_cases.xml')
-rw-r--r--docs/usermanual/chapters/common_use_cases.xml28
1 files changed, 14 insertions, 14 deletions
diff --git a/docs/usermanual/chapters/common_use_cases.xml b/docs/usermanual/chapters/common_use_cases.xml
index 532e183c56..b5d376a9db 100644
--- a/docs/usermanual/chapters/common_use_cases.xml
+++ b/docs/usermanual/chapters/common_use_cases.xml
@@ -169,7 +169,7 @@ inherit image
toolchain is in your <command>PATH</command>.</para>
<screen>
-<command>ls</command> pre-built/cross/bin
+$ <command>ls</command> pre-built/cross/bin
arm-linux-g++
arm-linux-ld
@@ -204,7 +204,7 @@ arm-linux-objdump
<emphasis>lib</emphasis> sub-directory.</para>
<screen>
-<command>ls</command> $PRE_BUILT
+$ <command>ls</command> $PRE_BUILT
include
lib
qt2
@@ -546,7 +546,7 @@ SDK_SUFFIX = "toolchain-YOUR"
the below command and after the operation finished you should find
a SDK in the deployment directory.
<screen>
-# bitbake meta-toolchain-qte
+$ <command>bitbake</command> meta-toolchain-qte
</screen>
</para>
@@ -581,13 +581,13 @@ SDK_SUFFIX = "toolchain-YOUR"
<screen>
Untar the SDK once
-# tar -C / -xjf angstrom-armv5te-linux-gnueabi-toolchain-qte.tar.bz2
+$ <command>tar</command> -C / -xjf angstrom-armv5te-linux-gnueabi-toolchain-qte.tar.bz2
Before using it source the environment
-# . /usr/local/angstrom/arm/environment-setup
+$ <command>.</command> /usr/local/angstrom/arm/environment-setup
Use qmake2 to build software for the target
-# qmake2
+$ <command>qmake2</command>
</screen>
<para>Creating and building a simple example. We will create a simple
@@ -595,16 +595,16 @@ Use qmake2 to build software for the target
<command>make</command> to cross compile.
<screen>
-# . /usr/local/angstrom/arm/environment-setup
-# cd $HOME
-# mkdir qte-example
-# cd qte-example
+$ <command>.</command> /usr/local/angstrom/arm/environment-setup
+$ <command>cd</command> $HOME
+$ <command>mkdir</command> qte-example
+$ <command>cd</command> qte-example
-# echo "TEMPLATE=app
+$ <command>echo</command> "TEMPLATE=app
SOURCES=main.cpp
" > qte-example.pro
-# echo '#include &lt;QApplication&gt;
+$ <command>echo</command> '#include &lt;QApplication&gt;
#include &lt;QPushButton&gt;
int main(int argc, char** argv) {
@@ -618,8 +618,8 @@ int main(int argc, char** argv) {
}
' > main.cpp
-# qmake2
-# make
+$ <command>qmake2</command>
+$ <command>make</command>
</screen>
</para>