Skip to content

Latest commit

 

History

History
67 lines (44 loc) · 1.29 KB

INSTALL.md

File metadata and controls

67 lines (44 loc) · 1.29 KB

Building

Defaults

By default debug version is build right in the source tree.

Targets

  • debug Builds debug version in debug/.

  • release Builds release version in release/.

  • man Builds manual page in docs/dit.1, requires pandoc.

  • coverage Builds coverage in coverage/ putting report in coverage/data/. Requires uncov to be installed.

  • check Builds and runs tests. Combine with debug or release to build and run tests in that configuration.

  • clean Removes build artifacts for all configurations.

  • install Builds the application in release mode (release target) and installs it. DESTDIR can be set to point to root of the installation directory.

  • uninstall Removes files installed by the install target. Make sure to specify the same DESTDIR as for installation.

Documentation

Rebuilding a man-page requires pandoc to be installed.

Installation

A regular installation under /usr/bin can be done like this:

make install

Installation into custom directory (e.g. to make a package):

make DESTDIR=$PWD/build install

Uninstallation

Similar to installation, but using uninstall target:

make uninstall

Or for custom location:

make DESTDIR=$PWD/build uninstall