From 23481b197b9ba2f0c3fbeb5c0773396137b6e4fd Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Sat, 14 Oct 2017 16:34:09 +0200 Subject: [PATCH] build.md: Simplify and sectionalize better Signed-off-by: Joachim Nilsson --- doc/build.md | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/doc/build.md b/doc/build.md index fdf8c8e5..0c9c9690 100644 --- a/doc/build.md +++ b/doc/build.md @@ -2,23 +2,25 @@ Building ======== Finit comes with a traditional configure script to control features and -optional plugins to enable. It does however depend on two external -libraries that provide some frog DNA needed: +optional plugins to enable. It depends on two external libraries: -- [libuEv][] -- [libite][] (-lite) +- [libuEv][], the event loop +- [libite][] (-lite), much needed frog DNA -Like most free/open source software that uses `configure` they deafult -to install to `/usr/local`. However, some Linux distributions do no -longer search that path for installed software, e.g. Fedora and Alpine -Linux. To get finit's configure script to find its dependencies you -have to help the `pkg-config` tool a bit if you do not change the -default prefix path: +**NOTE:** Most free/open source software that uses `configure` default + to install to `/usr/local`. However, some Linux distributions do no + longer search that path for installed software, e.g. Fedora and Alpine + Linux. To get finit's configure script to find its dependencies you + have to help the `pkg-config` tool a bit if you do not change the + default prefix path: PKG_CONFIG_LIBDIR=/usr/local/lib/pkgconfig ./configure -Below are a few of the main switches to -configure: + +Configure +--------- + +Below are a few of the main switches to configure: * `--disable-inetd`: Disable the built-in inetd server. @@ -43,7 +45,9 @@ configure: For more configure flags, see ./configure --help -**Example** + +Example +------- First, unpack the archive: