]> git.saurik.com Git - redis.git/blobdiff - src/Makefile
top level Makefile now just a proxy. Doing make clean inside src now does a full...
[redis.git] / src / Makefile
index d3567aa7d490fd1da6002ae0e5e7821db7585ae3..5354746bd0c7ae3b860b6926ecae653e11e76e69 100644 (file)
@@ -198,6 +198,10 @@ redis-check-aof: $(CHECKAOFOBJ)
 
 clean:
        rm -rf $(PRGNAME) $(BENCHPRGNAME) $(CLIPRGNAME) $(CHECKDUMPPRGNAME) $(CHECKAOFPRGNAME) *.o *.gcda *.gcno *.gcov
+       cd ../deps/hiredis && $(MAKE) $@
+       cd ../deps/linenoise && $(MAKE) $@
+       cd ../deps/lua && $(MAKE) $@
+       -(cd ../deps/jemalloc && $(MAKE) distclean)
 
 dep:
        $(CC) -MM *.c -I ../deps/hiredis -I ../deps/linenoise
@@ -229,6 +233,9 @@ noopt:
 32bitgprof:
        $(MAKE) PROF="-pg" ARCH="-arch i386"
 
+src/help.h:
+       @../utils/generate-command-help.rb > help.h
+
 install: all
        mkdir -p $(INSTALL_BIN)
        $(INSTALL) $(PRGNAME) $(INSTALL_BIN)