diff --git a/doc/building.rst b/doc/building.rst index 5ee84d125..112f92a31 100644 --- a/doc/building.rst +++ b/doc/building.rst @@ -193,25 +193,26 @@ You can download the desktop sync client from the ownCloud `Client Download Page To build the most up to date version of the client: -1. Clone the latest versions of the client from Git_ as follows: +1. Clone the latest versions of the client from Git_ as follows:: - ``git clone git://github.com/owncloud/client.git`` - ``git submodule init`` - ``git submodule update`` + git clone git://github.com/owncloud/client.git + cd client + git submodule init + git submodule update -2. Create the build directory: +2. Create the build directory:: - ``mkdir client-build`` - ``cd client-build`` + mkdir client-build + cd client-build -3. Configure the client build: +3. Configure the client build:: - ``cmake -DCMAKE_BUILD_TYPE="Debug" ../client`` + cmake -DCMAKE_BUILD_TYPE="Debug" .. - ..note:: You must use absolute paths for the ``include`` and ``library`` + .. note:: You must use absolute paths for the ``include`` and ``library`` directories. - ..note:: On Mac OS X, you need to specify ``-DCMAKE_INSTALL_PREFIX=target``, + .. note:: On Mac OS X, you need to specify ``-DCMAKE_INSTALL_PREFIX=target``, where ``target`` is a private location, i.e. in parallel to your build dir by specifying ``../install``.