PSRDADA: installation directory

The installation directory is the directory to which all build products (header files, libraries, executables, and runtime data) will be installed when you type make install. The installation directory is set when you run the configure script, and is stored in the variable, prefix. When you type make install, build products are installed in
$prefix/include
$prefix/lib
$prefix/bin
$prefix/share
There are currently two ways in which the installation directory can be specified.

1. Default installation

The default installation directory is $PSRHOME/$LOGIN_ARCH. If the PSRHOME environment variable is not set, /usr/local will be used instead.

2. Arbitrary installation

As with any package that is configured and built using the GNU autotools, the install directory may be specified using the --prefix argument to the configure script.

Changing the installation directory

It is possible to install build products in a directory other than the installation directory that was set when the configure script was run. It is not necessary to make distclean, nor must the configure script be run again. Simply run
make install prefix=desired_install_path