Next: Detector upgrade Up: Installation and upgrades Previous: Compilation

# Building

To install the software you should first configure some enviroment variables by executing:

    > source configure

(NOT `>./configure` otherwise the enviroment variables will not be available for the `make` command). This allows you to configure:

- INSTALLROOT Directory where you want to install the software. Defaults to /usr/local/
- BINDIR Directory where you want to install the binaries. Defaults to bin/
- INCDIR Directory where you want to pute the header files. Defaults to include/slsdetector/
- LIBDIR Directory where you want to install the libraries. Defaults to lib/
- DOCDIR Directory where you want to copy the documentation. Defaults to share/doc/

To build you can:

- `make install_lib` install detector library and include files"
- `make install_client` install slsDetectorClient
- `make install` install library, include files and mythenClient''
- `make install_libdoc` install library documentation
- `make install_clientdoc` install mythenClient documentation
- `make install_doc` install all documentation
- `make help` lists possible targets