Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
fancy-rabbit committed Aug 20, 2018
1 parent 378433b commit a03f634
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ codis-fe: codis-deps
codis-server:
@mkdir -p bin
@rm -f bin/codis-server*
make -j4 -C extern/redis-3.2.11/
@cp -f extern/redis-3.2.11/src/redis-server bin/codis-server
@cp -f extern/redis-3.2.11/src/redis-benchmark bin/
@cp -f extern/redis-3.2.11/src/redis-cli bin/
@cp -f extern/redis-3.2.11/src/redis-sentinel bin/
@cp -f extern/redis-3.2.11/redis.conf config/
@sed -e "s/^sentinel/# sentinel/g" extern/redis-3.2.11/sentinel.conf > config/sentinel.conf
make -j4 -C extern/redis-3.2.12/
@cp -f extern/redis-3.2.12/src/redis-server bin/codis-server
@cp -f extern/redis-3.2.12/src/redis-benchmark bin/
@cp -f extern/redis-3.2.12/src/redis-cli bin/
@cp -f extern/redis-3.2.12/src/redis-sentinel bin/
@cp -f extern/redis-3.2.12/redis.conf config/
@sed -e "s/^sentinel/# sentinel/g" extern/redis-3.2.12/sentinel.conf > config/sentinel.conf

clean-gotest:
@rm -rf ./pkg/topom/gotest.tmp
Expand All @@ -45,7 +45,7 @@ clean: clean-gotest
@rm -rf scripts/tmp

distclean: clean
@make --no-print-directory --quiet -C extern/redis-3.2.11 distclean
@make --no-print-directory --quiet -C extern/redis-3.2.12 distclean
@make --no-print-directory --quiet -C vendor/github.com/spinlock/jemalloc-go/ distclean

gotest: codis-deps
Expand Down

0 comments on commit a03f634

Please sign in to comment.