Do no execute rebar-clean before distclean

Prior to this change, this project support to be built with rebar3 and
erlang.mk meanwhile but when we want to make distclean, this project
would execute rebar-clean which would get dependencies via rebar3, it
slow down the procedure of distclean.
This commit is contained in:
Gilbert Wong 2018-11-27 16:48:51 +08:00 committed by Gilbert
parent d13c5f8ec1
commit d08ed351be
1 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ endef
include erlang.mk
clean:: gen-clean rebar-clean
clean:: gen-clean
.PHONY: gen-clean
gen-clean:
@ -122,7 +122,7 @@ rebar-ct: app.config
rebar-clean:
@rebar3 clean
distclean:: rebar-clean
distclean::
@rm -rf _build cover deps logs log data
@rm -f rebar.lock compile_commands.json cuttlefish