summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2015-01-24 16:24:16 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2015-01-24 16:42:54 +0100
commit10fc979567d23480f5a3e1fb8437d1a0fdd53c0b (patch)
tree939617d90a9cd07b53d8190005cc6cd31e748e25 /README.md
parent7df57aa10b1d31fd90887c238cfeeedaff700552 (diff)
Pass INSTALL_PREFIX to cmake
This allows to install to a location other than /usr/local without invoking cmake manually.
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/README.md b/README.md
index ca8246e..776d886 100644
--- a/README.md
+++ b/README.md
@@ -42,7 +42,10 @@ the repository to reduce build dependencies.
If you have GNU make, you can simply `make`, `make test`, and `make
install`. This calls [cmake] to create a `Makefile` in the `build`
directory, then uses that `Makefile` to create the executable and
-library. The binaries can be found in `build/src`.
+library. The binaries can be found in `build/src`. The default
+installation prefix is `/usr/local`. To change the installation
+prefix, pass the `INSTALL_PREFIX` variable if you run `make` for the
+first time: `make INSTALL_PREFIX=path`.
For a more portable method, you can use [cmake] manually. [cmake] knows
how to create build environments for many build systems. For example,