summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Krehl <mario-krehl@gmx.de>2017-03-02 20:27:29 +0100
committerMario Krehl <mario-krehl@gmx.de>2017-03-02 21:10:14 +0100
commit4ff88dca6eaa60f9f462c795192f6380c6e85fd3 (patch)
tree289795c64fbf5f4302d5ba0314dd992d8bf965de
parent85cb954b9fe907e9efc6d87744b0262f6f1960fc (diff)
downloadimag-4ff88dca6eaa60f9f462c795192f6380c6e85fd3.zip
imag-4ff88dca6eaa60f9f462c795192f6380c6e85fd3.tar.gz
Change `make update` because it works with workspaces now
-rw-r--r--Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index e47c0c1..cf6a5f9 100644
--- a/Makefile
+++ b/Makefile
@@ -34,10 +34,6 @@ imag-bin-release:
@$(ECHO) "\t[IMAG ][RELEASE]"
@$(CARGO) build --release --manifest-path ./bin/Cargo.toml
-imag-bin-update:
- @$(ECHO) "\t[IMAG ][UPDATE ]"
- @$(CARGO) update --manifest-path ./bin/Cargo.toml
-
imag-bin-install:
@$(ECHO) "\t[IMAG ][INSTALL]"
@$(CARGO) install --force --path ./bin
@@ -75,8 +71,9 @@ test: bin-test lib-test
install: $(INSTALL_TARGETS) imag-bin-install
@$(ECHO) "\t[INSTALL]"
-update: $(UPDATE_TARGETS) imag-bin-update
+update:
@$(ECHO) "\t[UPDATE ]"
+ @$(CARGO) update
clean: $(CLEAN_TARGETS) imag-bin-clean
@$(ECHO) "\t[CLEAN ]"
@@ -107,10 +104,6 @@ $(INSTALL_TARGETS): %: .FORCE imag-bin-install
@$(ECHO) "\t[INSTALL]:\t$(subst -install,,$@)"
@$(CARGO) install --force --path ./$(subst -install,,$@)
-$(UPDATE_TARGETS): %: .FORCE
- @$(ECHO) "\t[UPDATE ]:\t$(subst -update,,$@)"
- @$(CARGO) update --manifest-path ./$(subst -update,,$@)/Cargo.toml
-
$(CLEAN_TARGETS): %: .FORCE
@$(ECHO) "\t[CLEAN ]:\t$(subst -clean,,$@)"
@$(CARGO) clean --manifest-path ./$(subst -clean,,$@)/Cargo.toml