From: Michal Vaner Date: Sun, 14 Sep 2008 09:40:50 +0000 (+0200) Subject: Free docs: slight tweaks in configure X-Git-Tag: holmes-import~227^2~5^2~39 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=6d04dddd8ea80b144d981798d7032e58c70f8725;p=libucw.git Free docs: slight tweaks in configure --- diff --git a/ucw/doc/configure.txt b/ucw/doc/configure.txt index f9c9ce34..15624c82 100644 --- a/ucw/doc/configure.txt +++ b/ucw/doc/configure.txt @@ -4,16 +4,29 @@ How to Configure Sherlock libraries What can be configured ---------------------- There are two different levels of configuring/customizing program -based on libucw: +based on sherlock libraries: - runtime configuration in configuration files (see <>) - compile-time configuration of the libraries: config switches set before compiling, selecting optional features. +Where to build +-------------- +If you run configure in the source directory, it prepares for compilation inside +the source tree. In this case, an `obj` subdirectory is created to hold all generated +files (object files, binaries, generated source files etc.) and all final files +are linked to the `run` subdirectory. No other parts of the source tree are written into. + +Alternatively, you can compile in a separate object tree (which is useful when you +want to build several different configurations from a single source tree). In order +to do that, switch to the destination directory and issue `/configure ...`. +This way, configure will create the `obj` and `run` directories locally and set up +a Makefile which refers to the original source tree. + How to configure ---------------- -To set up compilation for, possibly overriding default compile-time +To set up compilation, possibly overriding default compile-time options, just run ./configure [