summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2015-01-08 16:35:05 +0100
committerantirez <antirez@gmail.com>2015-01-08 16:35:53 +0100
commit77608ae5acfea1358abfa2ca852491f6c36b8333 (patch)
tree2de47b7a072acca354b7a58a09fe092357eb0d0d
parent5165fb98afab421d90b927a684e6063d8a628159 (diff)
downloadredis-77608ae5acfea1358abfa2ca852491f6c36b8333.tar.gz
README section about make distclean reworded / extended.
-rw-r--r--README22
1 files changed, 17 insertions, 5 deletions
diff --git a/README b/README
index f18fcf8cb..369118631 100644
--- a/README
+++ b/README
@@ -26,12 +26,24 @@ After building Redis is a good idea to test it, using:
% make test
-Fixing build problems with dependencies
+Fixing build problems with dependencies or cached build options
—--------
-Redis has some dependencies which are included to deps directory.
-“make” doesn’t rebuild deps though sources of dependencies are changed, and “make clean” cleans up src directory only.
-Only “make distclean” cleans up deps build output.
-So if build errors occur with deps you can try “make distclean” and “make” again.
+Redis has some dependencies which are included into the "deps" directory.
+"make" does not rebuild dependencies automatically, even if something in the
+source code of dependencies is changes.
+
+When you update the source code with `git pull` or when code inside the
+dependencies tree is modified in any other way, make sure to use the following
+command in order to really clean everything and rebuild from scratch:
+
+ make distclean
+
+This will clean: jemalloc, lua, hiredis, linenoise.
+
+Also if you force certain build options like 32bit target, no C compiler
+optimizations (for debugging purposes), and other similar build time options,
+those options are cached indefinitely until you issue a "make distclean"
+command.
Fixing problems building 32 bit binaries
---------