From d73f1cbea928bc69b7d2de05cd330c660553b059 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 1 Jun 2021 17:30:14 +0100 Subject: [PATCH] Makefile, ssh proxy: Install a symlink Signed-off-by: Ian Jackson --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 66968e31..0b2789f9 100644 --- a/Makefile +++ b/Makefile @@ -189,6 +189,8 @@ CARGOES=$(foreach t, wasm-,$(addprefix $t,check $(DR))) $(addprefix stamp/cargo.,$(DR)):: \ stamp/cargo.%: $(call rsrcs,. ! -path './wasm/*') $(CARGO) build --workspace $(call cr,$*) -p otter -p otter-daemon + $(NAILING_CARGO_JUST_RUN) \ + ln -sf otter $(abspath $(TARGET_DIR))/$*/otter-ssh-proxy $(stamp) $(TARGET_DIR)/debug/%: $(call rsrcs, ! -path './wasm/*') @@ -230,6 +232,8 @@ stamp/cargo.wasm-%: $(call rsrcs, base wasm Cargo.*) stamp/cargo.deploy-build: $(call rsrcs,.) $(CARGO) build --target $(DEPLOY_ARCH) $(call cr,$(DEPLOY_RELEASE)) -p otter -p otter-daemon + $(NAILING_CARGO_JUST_RUN) \ + ln -sf otter $(abspath $(TARGET_DIR)/$(DEPLOY_ARCH))/$(DEPLOY_RELEASE)/otter-ssh-proxy $(stamp) #---------- sphnix ---------- -- 2.30.2