From 03b24a0a559fecc3d806c749ab664ac87d8add0a Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Wed, 8 May 2019 16:32:48 +0200 Subject: [PATCH] Update dependencies before building --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 59e01ce..80ab01b 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ MAN_SRC = acmed.8 \ tacd.8 MAN_FILES = $(foreach name,$(MAN_SRC),$(MAN_DST_DIR)/$(name).gz) -all: $(EXE_FILES) man +all: update $(EXE_FILES) man man: $(MAN_DST_DIR) $(MAN_FILES) @@ -31,6 +31,9 @@ $(MAN_DST_DIR): $(MAN_DST_DIR)/%.gz: $(MAN_SRC_DIR)/% gzip <"$<" >"$@" +update: + cargo update + install: install -D --mode=0755 $(TARGET_DIR)/acmed $(DESTDIR)$(BINDIR)/acmed install -D --mode=0755 $(TARGET_DIR)/tacd $(DESTDIR)$(BINDIR)/tacd @@ -44,4 +47,4 @@ install: clean: cargo clean -.PHONY: $(EXE_NAMES) all clean install man +.PHONY: $(EXE_NAMES) all clean install man update