Merge pull request #160 from mikebrow/make-dependencies

fix dependencies
This commit is contained in:
Miloslav Trmač 2016-08-15 16:59:19 +02:00 committed by GitHub
commit cd0cef8442

View File

@ -1,4 +1,4 @@
.PHONY: all binary build clean install install-binary shell test-integration
.PHONY: all binary build-container build-local clean install install-binary shell test-integration
export GO15VENDOREXPERIMENT=1
@ -28,11 +28,9 @@ MANPAGES_MD = $(wildcard docs/*.md)
all: binary docs
binary: skopeo
# Build a docker image (skopeobuild) that has everything we need to build.
# Then do the build and the output (skopeo) should appear in current dir
skopeo: cmd/skopeo
binary: cmd/skopeo
docker build ${DOCKER_BUILD_ARGS} -f Dockerfile.build -t skopeobuildimage .
docker run --rm -v ${PWD}:/src/github.com/projectatomic/skopeo \
skopeobuildimage make binary-local
@ -57,7 +55,7 @@ install: install-binary install-docs
# TODO(runcom)
#install -m 644 completion/bash/skopeo ${BASHINSTALLDIR}/
install-binary: skopeo
install-binary: ./skopeo
install -d -m 0755 ${INSTALLDIR}
install -m 755 skopeo ${INSTALLDIR}