summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHarald Hoyer <harald@harald-hoyer.de>2018-04-25 18:15:08 +0200
committerAtomic Bot <atomic-devel@projectatomic.io>2018-04-25 19:49:42 +0000
commit57359619e8b2154c3f5841256f2ee9e4f0b1c067 (patch)
treedf70b29db4f8f0d57d33aa72fc28199784d179be /Makefile
parentd7acf72688e081a0793c3f083a17b26250923227 (diff)
downloadpodman-57359619e8b2154c3f5841256f2ee9e4f0b1c067.tar.gz
podman-57359619e8b2154c3f5841256f2ee9e4f0b1c067.tar.bz2
podman-57359619e8b2154c3f5841256f2ee9e4f0b1c067.zip
Only generate the varlink glue code if needed and from the vendor dir
Closes: #671 Approved by: baude
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index fa1311d6e..f9813c012 100644
--- a/Makefile
+++ b/Makefile
@@ -104,7 +104,6 @@ endif
rm -f test/copyimg/copyimg
rm -f test/checkseccomp/checkseccomp
rm -fr build/
- rm -f cmd/podman/ioprojectatomicpodman/ioprojectatomicpodman.go
libpodimage:
docker build -t ${LIBPOD_IMAGE} .
@@ -248,12 +247,9 @@ install.tools: .install.gitvalidation .install.gometalinter .install.md2man
make all install; \
fi
-.install.varlink: .gopathok
- $(GO) get -u github.com/varlink/go/varlink
- $(GO) get -u github.com/varlink/go/cmd/varlink-go-interface-generator
+varlink_generate: .gopathok cmd/podman/ioprojectatomicpodman/ioprojectatomicpodman.go
-varlink_generate: .gopathok .install.varlink
- rm -f cmd/podman/ioprojectatomicpodman/ioprojectatomicpodman.go
+cmd/podman/ioprojectatomicpodman/ioprojectatomicpodman.go: cmd/podman/ioprojectatomicpodman/io.projectatomic.podman.varlink
$(GO) generate ./cmd/podman/ioprojectatomicpodman/...
validate: gofmt .gitvalidation