generate the varlink go file prior to build

Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
baude 2018-05-29 15:36:53 -05:00
parent 0c9c4ff8e2
commit 13cdf58063

View File

@ -381,6 +381,7 @@ ln -s vendor src
export GOPATH=$(pwd)/_build:$(pwd):$(pwd):%{gopath}
export BUILDTAGS="selinux seccomp $(hack/btrfs_installed_tag.sh) $(hack/btrfs_tag.sh) $(hack/libdm_tag.sh) containers_image_ostree_stub"
GOPATH=$GOPATH go generate ./cmd/podman/varlink/...
GOPATH=$GOPATH BUILDTAGS=$BUILDTAGS %gobuild -o bin/%{name} %{import_path}/cmd/%{name}
BUILDTAGS=$BUILDTAGS make %{name} docs