Browse files

Rename INSTALL_TOP to PREFIX; update documentation

Signed-off-by: Pedro Melo <>
  • Loading branch information...
1 parent 3c23ee1 commit e13865033d06ea8d499cc01ab457abedd3ba6d05 @melo melo committed Sep 13, 2010
Showing with 15 additions and 3 deletions.
  1. +12 −1 INSTALL
  2. +2 −1 README
  3. +1 −1 src/Makefile
@@ -3,7 +3,18 @@ To compile Redis, do the following:
cd src; make
The compilation will produce a redis-server binary.
-Copy this file where you want.
+To install Redis, use
+ make install
+and all the binaries will be installed on /usr/local/bin.
+ make PREFIX=/some/other/directory
+to have the binaries in /some/other/directory/bin.
Run the server using the following command line:
@@ -16,7 +16,8 @@ It is as simple as:
Redis is just a single binary, but if you want to install it you can use
the "make install" target that will copy the binary in /usr/local/bin
-for default.
+for default. You can also use "make PREFIX=/some/other/directory install"
+if you wish to use a different destination.
You can run a 32 bit Redis binary using:
@@ -15,7 +15,7 @@ endif
DEBUG?= -g -rdynamic -ggdb
-INSTALL_TOP= /usr/local
+PREFIX= /usr/local
sylr Sep 13, 2010

$(INSTALL_TOP) shouldn't be replaced by $(PREFIX) here ?

INSTALL= cp -p

0 comments on commit e138650

Please sign in to comment.