Signed-off-by: Pedro Melo <melo@simplicidade.org>
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.
+
+Alternatively:
+
+ make PREFIX=/some/other/directory
+
+to have the binaries in /some/other/directory/bin.
Run the server using the following command line:
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:
CCOPT= $(CFLAGS) $(CCLINK) $(ARCH) $(PROF)
DEBUG?= -g -rdynamic -ggdb
-INSTALL_TOP= /usr/local
+PREFIX= /usr/local
INSTALL_BIN= $(INSTALL_TOP)/bin
INSTALL= cp -p