diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2020-01-29 12:17:42 +0100 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2020-01-29 12:17:42 +0100 |
commit | 633610769ef270aac4f274ed363970c6da0a1b24 (patch) | |
tree | dc9544c4108a5b9c9c6b4816d4c3082fc5dec07f | |
parent | 326cdf944daae40ec83decf38ed1477e806cd846 (diff) | |
download | podman-633610769ef270aac4f274ed363970c6da0a1b24.tar.gz podman-633610769ef270aac4f274ed363970c6da0a1b24.tar.bz2 podman-633610769ef270aac4f274ed363970c6da0a1b24.zip |
run `varlink_generate` on Linux only
Running the `varlink_generate` make target on non-Linux machines is not
supported, so restrict it to Linux only.
Fixes: #4814
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -524,7 +524,10 @@ install.libseccomp.sudo: cmd/podman/varlink/iopodman.go: .gopathok cmd/podman/varlink/io.podman.varlink +ifeq ("$(shell uname -o)", "GNU/Linux") + # Only generate the varlink code on Linux (see issue #4814). GO111MODULE=off $(GO) generate ./cmd/podman/varlink/... +endif API.md: cmd/podman/varlink/io.podman.varlink $(GO) generate ./docs/... |