Files
skopeo/Makefile
Nalin Dahyabhai a2ccec8c43 Catch up to the projectatomic move
Catch up import paths and docs to build correctly now that we're in
projectatomic.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-03-16 10:54:45 -04:00

22 lines
595 B
Makefile

AUTOTAGS := $(shell ./btrfs_tag.sh) $(shell ./libdm_tag.sh)
all: buildah
buildah: *.go cmd/buildah/*.go
go build -o buildah -tags "$(AUTOTAGS) $(TAGS)" ./cmd/buildah
.PHONY: clean
clean:
$(RM) buildah
# For vendoring to work right, the checkout directory must be such that out top
# level is at $GOPATH/src/github.com/projectatomic/buildah.
.PHONY: gopath
gopath:
test $(shell pwd) = $(shell cd ../../../../src/github.com/projectatomic/buildah ; pwd)
# We use https://github.com/lk4d4/vndr to manage dependencies.
.PHONY: deps
deps: gopath
env GOPATH=$(shell cd ../../../.. ; pwd) vndr