Skip to content

Commit 22790b6

Browse files
Merge pull request #16761 from ashley-cui/machelper
Makefile: Add podman-mac-helper to darwin client zip
2 parents 4abc164 + 9b70246 commit 22790b6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,11 +728,14 @@ podman-remote-release-%.zip: test/version/version ## Build podman-remote for %=$
728728
if [[ "$(GOOS)" == "windows" ]]; then \
729729
$(MAKE) $(GOPLAT) TMPDIR="" win-sshproxy; \
730730
fi
731+
if [[ "$(GOOS)" == "darwin" ]]; then \
732+
$(MAKE) $(GOPLAT) podman-mac-helper;\
733+
fi
731734
cp -r ./docs/build/remote/$(GOOS) "$(TMPDIR)/$(SUBDIR)/docs/"
732735
cp ./contrib/remote/containers.conf "$(TMPDIR)/$(SUBDIR)/"
733736
$(MAKE) $(GOPLAT) $(_DSTARGS) SELINUXOPT="" install.remote
734737
cd "$(TMPDIR)" && \
735-
zip --recurse-paths "$(CURDIR)/$@" "./"
738+
zip --recurse-paths "$(CURDIR)/$@" "./$(SUBDIR)"
736739
if [[ "$(GOARCH)" != "$(NATIVE_GOARCH)" ]]; then $(MAKE) clean-binaries; fi
737740
-rm -rf "$(TMPDIR)"
738741

@@ -795,6 +798,8 @@ install.remote:
795798
$(DESTDIR)$(BINDIR)/podman$(BINSFX)
796799
test "${GOOS}" != "windows" || \
797800
install -m 755 $(SRCBINDIR)/win-sshproxy.exe $(DESTDIR)$(BINDIR)
801+
test "${GOOS}" != "darwin" || \
802+
install -m 755 $(SRCBINDIR)/podman-mac-helper $(DESTDIR)$(BINDIR)
798803
test -z "${SELINUXOPT}" || \
799804
chcon --verbose --reference=$(DESTDIR)$(BINDIR)/podman-remote \
800805
bin/podman-remote

0 commit comments

Comments
 (0)