From: Zac Dover Date: Sat, 14 Sep 2024 08:46:56 +0000 (+1000) Subject: doc/README.md: create selectable commands X-Git-Tag: v19.2.1~211^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f37285f3ea33ad78a829886610dfeb29ccc4dc80;p=ceph.git doc/README.md: create selectable commands An indentation of five spaces relative to the previous line creates a command that is copyable with a single mouse click. This commit adds those copyabale commands to the procedure in the section "Building Ceph". Signed-off-by: Zac Dover (cherry picked from commit 36c620b04f3a88562d75955b46cc1864de60ce70) --- diff --git a/README.md b/README.md index bb898a2964a..4c301b6d976 100644 --- a/README.md +++ b/README.md @@ -78,18 +78,7 @@ To build Ceph, follow this procedure: contains `do_cmake.sh` and `CONTRIBUTING.rst`. 2. Run the `do_cmake.sh` script: - >``./do_cmake.sh`` -3. Move into the `build` directory: - - >``cd build`` -4. Use the `ninja` buildsystem to build the development environment: - - >``ninja`` - -``do_cmake.sh`` by default creates a "debug build" of Ceph, which can be up to -five times slower than a non-debug build. Pass -``-DCMAKE_BUILD_TYPE=RelWithDebInfo`` to ``do_cmake.sh`` to create a non-debug -build. + ./do_cmake.sh ``do_cmake.sh`` by default creates a "debug build" of Ceph, which can be up to five times slower than a non-debug build. Pass @@ -97,7 +86,7 @@ build. non-debug build. 3. Move into the `build` directory: - ``cd build`` + cd build 4. Use the `ninja` buildsystem to build the development environment: ninja -j3 @@ -128,11 +117,11 @@ build. To build only certain targets, run a command of the following form: - ``ninja [target name]`` + ninja [target name] 5. Install the vstart cluster: - ``ninja install`` + ninja install ### CMake Options