Handle build correctly (#4016)
Remove build from .PHONY, add it to clean
This commit is contained in:
parent
3e26ea7819
commit
3b9a1f7c29
4
Makefile
4
Makefile
|
@ -119,7 +119,7 @@ draw_deps: tools
|
||||||
@goviz -i github.com/cosmos/cosmos-sdk/cmd/gaia/cmd/gaiad -d 2 | dot -Tpng -o dependency-graph.png
|
@goviz -i github.com/cosmos/cosmos-sdk/cmd/gaia/cmd/gaiad -d 2 | dot -Tpng -o dependency-graph.png
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f snapcraft-local.yaml
|
rm -rf snapcraft-local.yaml build/
|
||||||
|
|
||||||
distclean: clean
|
distclean: clean
|
||||||
rm -rf vendor/
|
rm -rf vendor/
|
||||||
|
@ -264,7 +264,7 @@ snapcraft-local.yaml: snapcraft-local.yaml.in
|
||||||
# To avoid unintended conflicts with file names, always add to .PHONY
|
# To avoid unintended conflicts with file names, always add to .PHONY
|
||||||
# unless there is a reason not to.
|
# unless there is a reason not to.
|
||||||
# https://www.gnu.org/software/make/manual/html_node/Phony-Targets.html
|
# https://www.gnu.org/software/make/manual/html_node/Phony-Targets.html
|
||||||
.PHONY: build install install_debug dist clean distclean \
|
.PHONY: install install_debug dist clean distclean \
|
||||||
draw_deps test test_cli test_unit \
|
draw_deps test test_cli test_unit \
|
||||||
test_cover lint benchmark devdoc_init devdoc devdoc_save devdoc_update \
|
test_cover lint benchmark devdoc_init devdoc devdoc_save devdoc_update \
|
||||||
build-linux build-docker-gaiadnode localnet-start localnet-stop \
|
build-linux build-docker-gaiadnode localnet-start localnet-stop \
|
||||||
|
|
Loading…
Reference in New Issue