diff --git a/Makefile b/Makefile index 423179a0a..d583e0c76 100644 --- a/Makefile +++ b/Makefile @@ -123,7 +123,7 @@ draw_deps: tools @goviz -i github.com/cosmos/cosmos-sdk/cmd/gaia/cmd/gaiad -d 2 | dot -Tpng -o dependency-graph.png clean: - rm -f devtools-stamp vendor-deps snapcraft.yaml + rm -f devtools-stamp vendor-deps snapcraft-local.yaml distclean: clean rm -rf vendor/ @@ -256,14 +256,9 @@ localnet-stop: ######################################## ### Packaging -snapcraft.yaml: snapcraft.yaml.in +snapcraft-local.yaml: snapcraft-local.yaml.in sed "s/@VERSION@/${VERSION}/g" < $< > $@ -build-snap-edge: snapcraft.yaml - snapcraft clean - snapcraft - - # To avoid unintended conflicts with file names, always add to .PHONY # unless there is a reason not to. # https://www.gnu.org/software/make/manual/html_node/Phony-Targets.html @@ -274,4 +269,4 @@ build-linux build-docker-gaiadnode localnet-start localnet-stop \ format check-ledger test_sim_gaia_nondeterminism test_sim_modules test_sim_gaia_fast \ test_sim_gaia_custom_genesis_fast test_sim_gaia_custom_genesis_multi_seed \ test_sim_gaia_multi_seed test_sim_gaia_import_export update_tools update_dev_tools \ -build-snap-edge devtools-clean +devtools-clean