Permalink
Browse files

Add instructions for customized install location

- Closes #141
  • Loading branch information...
lauft committed May 19, 2018
1 parent b142157 commit ea27d8f5fa1e187e0fc6f5ff42b44eae5d1dd34e
Showing with 5 additions and 2 deletions.
  1. +5 −2 README.md
@@ -39,12 +39,15 @@ There are two ways to retrieve the Timewarrior sources:

Build Timewarrior, optionally run the test suite (note: the tarball does not contain tests), and install it.

cmake -DCMAKE_BUILD_TYPE=release .
cmake -DCMAKE_BUILD_TYPE=release
make
[make test]
sudo make install

This copies files into the right place, and installs man pages.
This copies files into the right place (default under `/usr/local`), and installs man pages.

Add the optional parameter `-DCMAKE_INSTALL_PREFIX=/path/to/your/install/location` to the `cmake` command if you want to install Timewarrior at a location other than `/usr/local`.
The `make install` command may not require `sudo` depending on your choice of install location.

## Documentation

0 comments on commit ea27d8f

Please sign in to comment.