From 1dbbd7211cef0434d89d12fd28cfd28274b57956 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 27 May 2014 14:05:45 +0200 Subject: [PATCH] README.install: improvements and fixes. Signed-off-by: Michael Adam Reviewed-by: Andreas Schneider --- README.install | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/README.install b/README.install index e06a951..6fe012f 100644 --- a/README.install +++ b/README.install @@ -17,17 +17,18 @@ To create a local copy, run Building from sources ===================== -socket_wrapper uses cmake (www.cmake.org) as build system. +socket_wrapper uses cmake (www.cmake.org) as its build system. -In a unpacked sources base directory, create a directory to -contain the build results: +In an unpacked sources base directory, create a directory to +contain the build results, e.g. $ mkdir obj $ cd obj -Note this target directory can be named arbitrarily. +Note that "obj" is just an example. The directory can +be named arbitrarily. -Next, run cmake to configure the build, e.g.: +Next, run cmake to configure the build, e.g. $ cmake -DCMAKE_INSTALL_PREFIX= .. @@ -37,15 +38,18 @@ or on a 64 bit red hat system: The "" should be replaced by the intended installation target prefix directory, typically /usr or /usr/local. -If the build target directory is no a direct subdirectory -of the source base directory, ".." needs to be replaced -by the relative or absolute path of that directory. + +Note that the target directory does not have to be a direct +or indirect subdirectory of the source base directory: It can +be an arbitrary directory in the system. In the general case, +".." has to be replaced by a relative or absolute path of the +source base directory in the "cmake" command line. One can control the build type with "-DCMAKE_BUILD_TYPE=" where can be one of Debug, Release, RelWithDebInfo, and -some more (see cmake.org). The default is RelWithDebInfo. +some more (see cmake.org). The default is "RelWithDebInfo". -Afterward configuring with cmake, run the build with +After configuring with cmake, run the build with $ make -- 2.34.1