From: Ian Jackson Date: Tue, 1 Jun 2021 16:30:14 +0000 (+0100) Subject: Makefile, ssh proxy: Install a symlink X-Git-Tag: otter-0.7.0~140 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=d73f1cbea928bc69b7d2de05cd330c660553b059;p=otter.git Makefile, ssh proxy: Install a symlink Signed-off-by: Ian Jackson --- 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 ----------