diff options
author | Michael Adam <obnox@samba.org> | 2014-05-27 14:05:45 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2014-05-28 18:11:13 +0200 |
commit | 1dbbd7211cef0434d89d12fd28cfd28274b57956 (patch) | |
tree | 93faeab7af09aa9a10f09a967637d571226b47b6 /README.install | |
parent | 57748973ae70450c5f875f0ca577bbaed305d9ad (diff) | |
download | socket_wrapper-1dbbd7211cef0434d89d12fd28cfd28274b57956.tar.gz socket_wrapper-1dbbd7211cef0434d89d12fd28cfd28274b57956.tar.xz socket_wrapper-1dbbd7211cef0434d89d12fd28cfd28274b57956.zip |
README.install: improvements and fixes.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'README.install')
-rw-r--r-- | README.install | 24 |
1 files 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=<prefix> .. @@ -37,15 +38,18 @@ or on a 64 bit red hat system: The "<prefix>" 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=<mode>" where <mode> 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 |