summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorPieter Noordhuis <pcnoordhuis@gmail.com>2011-11-15 12:40:49 -0800
committerPieter Noordhuis <pcnoordhuis@gmail.com>2011-11-15 12:41:35 -0800
commit4b8a63941dc360a0d2dcba1ec182a006221e4a20 (patch)
tree484c0e192ffe36f59ef19440980683e93f15d9f3 /.gitignore
parent321a0440c0dde3ea00a72da0751fd7beb8f9bb93 (diff)
downloadredis-4b8a63941dc360a0d2dcba1ec182a006221e4a20.tar.gz
Rebuild deps/ and src/ when ARCH changes
This change moves the build instructions for dependencies to a separate Makefile in deps/. The ARCH environment variable is stored in a .make-arch file in the same directory as the Makefile. The contents of this file is read and compared to the current ARCH, and, on a mismatch triggers rebuilding the entire source tree. When file .make-arch exists and matches with ARCH from the environment, the dependencies are assumed to already be built. The new "clean" target only cleans the Redis source tree, not its dependencies. To clear the dependencies as well, the "distclean" target can be used.
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 262faef3f..1f480bd4d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,3 +22,4 @@ src/redis.conf
deps/lua/src/lua
deps/lua/src/luac
deps/lua/src/liblua.a
+.make-*