summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason T. Greene <jason.greene@redhat.com>2022-08-30 16:27:41 -0500
committerJason T. Greene <jason.greene@redhat.com>2022-09-06 09:26:28 -0500
commitf4c39df25e643957d9df3bca9536f18451381662 (patch)
tree6f3a85fb18d9a342e171a33ec5683309209621d4
parent41e1642f5603be8b0a48b0be4d5bcc5652173b1a (diff)
downloadpodman-f4c39df25e643957d9df3bca9536f18451381662.tar.gz
podman-f4c39df25e643957d9df3bca9536f18451381662.tar.bz2
podman-f4c39df25e643957d9df3bca9536f18451381662.zip
Add win-sshproxy.exe to windows client zips
Signed-off-by: Jason T. Greene <jason.greene@redhat.com>
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0ced638a6..a42f1f181 100644
--- a/Makefile
+++ b/Makefile
@@ -690,6 +690,9 @@ podman-remote-release-%.zip: test/version/version ## Build podman-remote for %=$
else \
$(MAKE) $(GOPLAT) podman-remote; \
fi
+ if [[ "$(GOOS)" == "windows" ]]; then \
+ $(MAKE) $(GOPLAT) TMPDIR="" win-sshproxy; \
+ fi
cp -r ./docs/build/remote/$(GOOS) "$(TMPDIR)/$(SUBDIR)/docs/"
cp ./contrib/remote/containers.conf "$(TMPDIR)/$(SUBDIR)/"
$(MAKE) $(GOPLAT) $(_DSTARGS) SELINUXOPT="" install.remote
@@ -752,6 +755,8 @@ install.remote:
install ${SELINUXOPT} -d -m 755 $(DESTDIR)$(BINDIR)
install ${SELINUXOPT} -m 755 $(SRCBINDIR)/podman$(BINSFX) \
$(DESTDIR)$(BINDIR)/podman$(BINSFX)
+ test "${GOOS}" != "windows" || \
+ install -m 755 $(SRCBINDIR)/win-sshproxy.exe $(DESTDIR)$(BINDIR)
test -z "${SELINUXOPT}" || \
chcon --verbose --reference=$(DESTDIR)$(BINDIR)/podman-remote \
bin/podman-remote