Build with ostree
Build using a locally-built copy of ostree in testing setups. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
This commit is contained in:
parent
d76645680f
commit
1e1d6a512f
4 changed files with 28 additions and 0 deletions
8
Makefile
8
Makefile
|
@ -202,6 +202,14 @@ install.tools: .install.gitvalidation .install.gometalinter .install.md2man
|
|||
go get -u github.com/cpuguy83/go-md2man; \
|
||||
fi
|
||||
|
||||
.install.ostree: .gopathok
|
||||
if ! pkg-config ostree-1 2> /dev/null ; then \
|
||||
git clone https://github.com/ostreedev/ostree $(GOPATH)/src/github.com/ostreedev/ostree ; \
|
||||
cd $(GOPATH)/src/github.com/ostreedev/ostree ; \
|
||||
./autogen.sh --prefix=/usr/local; \
|
||||
make all install; \
|
||||
fi
|
||||
|
||||
.PHONY: \
|
||||
binaries \
|
||||
clean \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue